[ban-ts-comment] // @ts-expect-error should be recognized #1709
Labels
enhancement
New feature or request
has pr
there is a PR raised to close this
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
In TypeScript@next (3.9):
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
@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
The text was updated successfully, but these errors were encountered: