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/camelcase

Code style
Medium

Detect all values and method definitions that do not use camelCase, they should.

Learn more

@typescript-eslint/class-name-casing

Code style
Medium

Detect all classes and interfaces that do not follow the PascalCased name convention

@typescript-eslint/explicit-module-boundary-types

Code style
Medium

Detect if not all function types for arguments and return values are specified in the function signature

@typescript-eslint/triple-slash-reference

Code style
Medium

Detect any triple slash reference definitions in the top of the file, they should be replaced by the import style (e.g replace "/// <reference path="foo" />" by "import * as foo from 'foo';")

import/prefer-default-export

Code style
Medium

When there is only a single export from a module, prefer using default export over named export.

vue/multi-word-component-names

Code style
Medium

Component nam should always be multi-word

vue/component-definition-name-casing

Code style
Medium

Enforce specific casing for component definition name