Closed
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have read the FAQ and my problem is not listed.
Repro
{
"rules": {
"no-restricted-imports": [
"error",
{
paths: ["lodash"],
},
],
}
}
import _ = require("lodash");
Expected Result
Should result in a linting error.
Actual Result
No errors.
Additional Info
Versions
package | version |
---|---|
@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 |