facebook pixelCodiga Analysis JavaScript Rules, severity error , category code style
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
Error

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
Error

Enforce consistent spacing between keys and values in object literal properties

no-class-assign

Code style
Error

RegistrationForm' is a class.

no-const-assign

Code style
Error

Disallows assigning values to const as they're immutable.

no-dupe-class-members

Code style
Error

Disallow duplicate name in class members

no-shadow-restricted-names

Code style
Error

Disallow shadowing of restricted names

no-unused-vars

Code style
Error

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
Error

Disallow generator functions that do not have yield