-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
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": {
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
]
}
}
import { ElementRef } from '@angular/core';
...
@ViewChild('someInput', { static: false })
private readonly _someInput?: ElementRef<HTMLInputElement>;
Expected Result
No error
Actual Result
error 'ElementRef' is defined but never used @typescript-eslint/no-unused-vars
Additional Info
Occurs after latest update to 4.14.0 (probably related to #2751?)
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
4.14.0 |
@typescript-eslint/parser |
4.14.0 |
TypeScript |
3.9.7 |
ESLint |
7.18.0 |
node |
14.15.4 |
miluoshi, dlq84, gioragutt and schw4rzlicht
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin