Appearance
This rule disallows tslint:<rule-flag> comments
tslint:<rule-flag>
Useful when migrating from TSLint to ESLint. Once TSLint has been removed, this rule helps locate TSLint annotations
// tslint:disable-next-line someCode();
To enable this rule in the CLI or using the config file, you can use:
oxlint --deny typescript/ban-tslint-comment
{ "rules": { "typescript/ban-tslint-comment": "error" } }
typescript/ban-tslint-comment Style
What it does
This rule disallows
tslint:<rule-flag>
commentsWhy is this bad?
Useful when migrating from TSLint to ESLint. Once TSLint has been removed, this rule helps locate TSLint annotations
Example
How to use
To enable this rule in the CLI or using the config file, you can use:
References