-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
enhancementNew feature or requestNew feature or requesthas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Repro
{
"rules": {
"@typescript-eslint/ban-ts-comment": "error"
}
}
In TypeScript@next (3.9):
// @ts-expect-error
let invalid: number = "nope";
Expected Result
As of microsoft/TypeScript#36014, // @ts-expect-error
should be recognized and able to be banned by @typescript-eslint/ban-ts-comment
.
Actual Result
It isn't yet.
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
2.22.1-alpha.6 |
@typescript-eslint/parser |
2.22.0 |
TypeScript |
3.8.3 |
ESLint |
6.8.0 |
node |
v12.4.0 |
npm |
6.9.0 |
sindresorhus
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin