facebook pixelJavaScript Static Analysis Rules
BACK TO LIST

JavaScript rules

The Codiga Static Analysis engine checks JavaScript 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/explicit-module-boundary-types

      Safety
      High

      Ensure that the values returned from a module are of the expected type

      Learn more

      @typescript-eslint/no-unsafe-assignment

      Safety
      High

      Disallows assigning any to variables and properties as it creates a potential safety hole, and source of bugs in your codebase.

      @typescript-eslint/no-unsafe-call

      Safety
      High

      Disallows calling an any type value as it creates a potential safety hole, and source of bugs in your codebase.

      @typescript-eslint/no-unsafe-member-access

      Safety
      High

      Disallows member access on any typed variables as it creates a potential safety hole, and source of bugs in your codebase.

      @typescript-eslint/unbound-method

      Safety
      High

      Warns when a method is used outside of a method call.

      flowtype/no-weak-types

      Safety
      High

      Warns against weak type annotations any, Object and Function.

      promise/catch-or-return

      Safety
      High

      Ensure that each time a then() is applied to a promise, a catch() is applied as well. Exceptions are made if you are returning that promise.