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/naming-convention

      Code style
      High

      Enforces naming conventions for everything across a codebase, in the settings verify if the naming-convention is camelCase, snake_case, etc.

      Learn more

      key-spacing

      Code style
      High

      Enforce consistent spacing between keys and values in object literal properties

      no-class-assign

      Code style
      High

      RegistrationForm' is a class.

      no-const-assign

      Code style
      High

      Disallows assigning values to const as they're immutable.

      no-dupe-class-members

      Code style
      High

      Disallow duplicate name in class members

      no-shadow-restricted-names

      Code style
      High

      Disallow shadowing of restricted names

      no-unused-vars

      Code style
      High

      Disallow unused variables. Variables that are declared and not used anywhere in the code are most likely an error due to incomplete refactoring

      require-yield

      Code style
      High

      Disallow generator functions that do not have yield