Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add importNames support for patterns in no-restricted-imports (#…
…16059) * feat: add importNames support for restricted import patterns Fixes #14274 * refactor: Report * import as error, add new messageIds, update docs * docs: add code examples for patterns with importNames * refactor: handle star import case separately w/ new messageIds * refactor: add message assertions + additional test cases, remove early return to catch default import case * refactor: require 1 unique importName in config, remove array coalesce
- Loading branch information
1 parent
472c368
commit 7023628
Showing
3 changed files
with
249 additions
and
11 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
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