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

@typescript-eslint/triple-slash-reference

Code style
Informational

Ban use of /// <reference path="" />, /// <reference types="" />, or /// <reference lib="" /> directives.

babel/new-cap

Code style
Informational

Ignores capitalized decorators

fecs-key-spacing

Code style
Warning

This rule enforces spacing around the colon in object literal properties.

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

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.