facebook pixelCodiga Analysis TypeScript Rules
BACK TO LIST

TypeScript rules

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.

      @typescript-eslint/ban-ts-comment

      Best practice
      Critical

      Detect any @ts-<directive> comment as it can reduce the effectiveness of TypeScript overall.

      Learn more

      @typescript-eslint/prefer-as-const

      Best practice
      Critical

      This rule recommends usage of const assertion when type primitive value is equal to type.