[no-restricted-imports] No way to use this rule with import = require()
syntax.
#2563
Closed
3 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
enhancement: new base rule extension
New base rule extension required to handle a TS specific case
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
Should result in a linting error.
Actual Result
No errors.
Additional Info
Versions
@typescript-eslint/eslint-plugin
4.1.0
@typescript-eslint/parser
4.1.0
@typescript-eslint/typescript-estree
4.1.0
@typescript-eslint/experimental-utils
4.1.0
TypeScript
3.5.2
node
12.16.3
npm
6.14.7
The text was updated successfully, but these errors were encountered: