Bug: [no-restricted-imports] allowTypeImports
should allow inline type qualifiers
#7374
Closed
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=4.9.5&showAST=es&fileType=.tsx&code=KYDwDg9gTgLgBAbzjAnmYcBiEJwL5wBmUEAtnAOQCWpksAtIThQNxA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1uhXyrPyIAJrUoBbYh2j5UGANrhsORNGhTIAGkVKsS7JGIBDfAAtZYBXr26rSyE0NjE6KOMnTaAMw4dN22ziG8PAcAO4AKiSIAJISUjIufLCI-lYAvqnYALqZGUo5EBlpQA&tsconfig=N4XyA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
No error.
Actual Result
'import-foo' import is restricted from being used.
Additional Info
No response
The text was updated successfully, but these errors were encountered: