Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(linter): rule
no-restricted-imports
: improve diagnostics (#8113)
I looked manually at the expected error messages from eslint: https://github.com/eslint/eslint/blob/main/tests/lib/rules/no-restricted-imports.js and updated the rule to match the message. Almost all spans are correctly too,I think only one or two use-cases are missing. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
- Loading branch information