-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspackage: 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/prefer-ts-expect-error": "error",
}
}
{/* @ts-ignore */}
const x: string = 1;
Expected Result
Error that @ts-expect-error
should be used instead of @ts-ignore
.
Actual Result
No error.
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
4.1.1-alpha.7 |
@typescript-eslint/parser |
4.1.0 |
TypeScript |
4.0.2 |
ESLint |
7.8.1 |
node |
12.13.0 |
glen-84 and vkrol
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin