facebook pixelCodiga Analysis TypeScript Rules, severity warning , category code style
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
Warning

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

Learn more

@typescript-eslint/class-name-casing

Code style
Warning

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

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

Code style
Warning

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

@typescript-eslint/triple-slash-reference

Code style
Warning

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
Warning

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

vue/multi-word-component-names

Code style
Warning

Component nam should always be multi-word

vue/component-definition-name-casing

Code style
Warning

Enforce specific casing for component definition name