Skip to content

typescript/ban-tslint-comment Style

🛠️ An auto-fix is available for this rule.

What it does

This rule disallows tslint:<rule-flag> comments

Why is this bad?

Useful when migrating from TSLint to ESLint. Once TSLint has been removed, this rule helps locate TSLint annotations

Example

ts
// tslint:disable-next-line
someCode();

References

Released under the MIT License.