Appearance
This rule lets you set which directive comments you want to allow in your codebase.
Using TypeScript directives to suppress TypeScript compiler errors reduces the effectiveness of TypeScript overall.
if (false) { // @ts-ignore: Unreachable code error console.log("hello"); }
typescript/ban-ts-comment Pedantic
What it does
This rule lets you set which directive comments you want to allow in your codebase.
Why is this bad?
Using TypeScript directives to suppress TypeScript compiler errors reduces the effectiveness of TypeScript overall.
Example
References