-
-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: optimize
no_useless_undefined
rule implementation
- Improved handling of function return types to skip unnecessary undefined diagnostics. - Updated AST node traversal to ignore function return types that explicitly return undefined. - Added additional test cases for accurate detection and fix of useless undefined usage.
- Loading branch information
Showing
2 changed files
with
369 additions
and
38 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.