-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: limit namespace import identifier in id-length rule (#18849)
* feat: limit namespace import identifier in id-length rule * test: add tests for valid case in 'id-length' rule * refactor: Sort order, Change variable name to semantic name * Update lib/rules/id-length.js Co-authored-by: Tanuj Kanti <[email protected]> * Update tests/lib/rules/id-length.js Co-authored-by: Tanuj Kanti <[email protected]> * Update tests/lib/rules/id-length.js Co-authored-by: Tanuj Kanti <[email protected]> * test: add test for shows that ImportSpecifiers are allowed even with default 2 and with max option --------- Co-authored-by: Tanuj Kanti <[email protected]>
- Loading branch information
1 parent
45c18e1
commit bcf0df5
Showing
2 changed files
with
18 additions
and
0 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
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