Fully sort and handle dispatch and other functional concerns#44
Merged
Coderrob merged 6 commits intoMay 14, 2026
Merged
Conversation
Coderrob
commented
Apr 30, 2026
Owner
- lint corrections
- improve sort
- add autofix
- add sql protection rules
- add eval and dynamic code prevention
- add strict rules on repo
…ed type patterns and improve sort-functions autofix logic
…cy in sort-functions rule
… and unary expressions - Added checks for conditional expressions to report redundant boolean branches. - Implemented checks for unary expressions to report redundant double negation. - Introduced helper functions to identify boolean expressions and generate fix suggestions. feat(plugin): update no-return-type rule to suggest explicit return types - Added suggestions for explicit return types when using ReturnType in the same file. - Enhanced the rule to find function declarations and provide appropriate suggestions. feat(plugin): improve no-type-assertion rule with satisfies suggestions - Added suggestions to replace type assertions with satisfies for variable initializers. - Enhanced error reporting to include suggestions for type assertions in non-test files. fix(plugin): require-barrel-relative-exports rule to support same-directory re-exports - Implemented fixes for bare same-directory re-export paths in barrel files. - Enhanced the rule to verify the existence of target files before allowing re-exports. feat(plugin): enforce interface naming convention with I prefix - Added functionality to automatically prefix interface names with "I" when necessary. - Implemented fixes for same-file type references when renaming interfaces.
- Added conservative autofix and suggestion expansions for various rules including `no-inline-type-import`, `no-re-export`, `no-redundant-boolean`, `no-non-null-assertion`, `no-type-assertion`, `no-indexed-access-types`, `no-return-type`, `require-interface-prefix`, and `require-barrel-relative-exports`. - Updated `CHANGELOG.md` to reflect new features and fixes. - Adjusted documentation for rules to clarify autofix capabilities and suggestions. - Improved test coverage for new autofix and suggestion features across multiple rules.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.