@typescript-eslint/ban-ts-comment
Best practice
Critical
Detect any @ts-<directive> comment as it can reduce the effectiveness of TypeScript overall.
The Codiga Static Analysis engine checks TypeScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.
Detect any @ts-<directive> comment as it can reduce the effectiveness of TypeScript overall.
This rule recommends usage of const assertion when type primitive value is equal to type.
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.