Skip to content

Fully sort and handle dispatch and other functional concerns#44

Merged
Coderrob merged 6 commits into
mainfrom
fully-sort-and-handle-dispatch-and-other-functional-concerns
May 14, 2026
Merged

Fully sort and handle dispatch and other functional concerns#44
Coderrob merged 6 commits into
mainfrom
fully-sort-and-handle-dispatch-and-other-functional-concerns

Conversation

@Coderrob

Copy link
Copy Markdown
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
… 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.
@Coderrob Coderrob merged commit 4840557 into main May 14, 2026
3 checks passed
@Coderrob Coderrob deleted the fully-sort-and-handle-dispatch-and-other-functional-concerns branch May 14, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant