You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
mahdi 0cb8d673d7 update 3 years ago
..
README.md update 3 years ago
TEMPLATE.md update 3 years ago
adjacent-overload-signatures.md update 3 years ago
array-type.md update 3 years ago
await-thenable.md update 3 years ago
ban-ts-comment.md update 3 years ago
ban-tslint-comment.md update 3 years ago
ban-types.md update 3 years ago
brace-style.md update 3 years ago
camelcase.md update 3 years ago
class-literal-property-style.md update 3 years ago
comma-dangle.md update 3 years ago
comma-spacing.md update 3 years ago
consistent-generic-constructors.md update 3 years ago
consistent-indexed-object-style.md update 3 years ago
consistent-type-assertions.md update 3 years ago
consistent-type-definitions.md update 3 years ago
consistent-type-exports.md update 3 years ago
consistent-type-imports.md update 3 years ago
default-param-last.md update 3 years ago
dot-notation.md update 3 years ago
explicit-function-return-type.md update 3 years ago
explicit-member-accessibility.md update 3 years ago
explicit-module-boundary-types.md update 3 years ago
func-call-spacing.md update 3 years ago
indent.md update 3 years ago
init-declarations.md update 3 years ago
keyword-spacing.md update 3 years ago
lines-between-class-members.md update 3 years ago
member-delimiter-style.md update 3 years ago
member-ordering.md update 3 years ago
method-signature-style.md update 3 years ago
naming-convention.md update 3 years ago
no-array-constructor.md update 3 years ago
no-base-to-string.md update 3 years ago
no-confusing-non-null-assertion.md update 3 years ago
no-confusing-void-expression.md update 3 years ago
no-dupe-class-members.md update 3 years ago
no-duplicate-enum-values.md update 3 years ago
no-duplicate-imports.md update 3 years ago
no-dynamic-delete.md update 3 years ago
no-empty-function.md update 3 years ago
no-empty-interface.md update 3 years ago
no-explicit-any.md update 3 years ago
no-extra-non-null-assertion.md update 3 years ago
no-extra-parens.md update 3 years ago
no-extra-semi.md update 3 years ago
no-extraneous-class.md update 3 years ago
no-floating-promises.md update 3 years ago
no-for-in-array.md update 3 years ago
no-implicit-any-catch.md update 3 years ago
no-implied-eval.md update 3 years ago
no-inferrable-types.md update 3 years ago
no-invalid-this.md update 3 years ago
no-invalid-void-type.md update 3 years ago
no-loop-func.md update 3 years ago
no-loss-of-precision.md update 3 years ago
no-magic-numbers.md update 3 years ago
no-meaningless-void-operator.md update 3 years ago
no-misused-new.md update 3 years ago
no-misused-promises.md update 3 years ago
no-namespace.md update 3 years ago
no-non-null-asserted-nullish-coalescing.md update 3 years ago
no-non-null-asserted-optional-chain.md update 3 years ago
no-non-null-assertion.md update 3 years ago
no-parameter-properties.md update 3 years ago
no-redeclare.md update 3 years ago
no-redundant-type-constituents.md update 3 years ago
no-require-imports.md update 3 years ago
no-restricted-imports.md update 3 years ago
no-shadow.md update 3 years ago
no-this-alias.md update 3 years ago
no-throw-literal.md update 3 years ago
no-type-alias.md update 3 years ago
no-unnecessary-boolean-literal-compare.md update 3 years ago
no-unnecessary-condition.md update 3 years ago
no-unnecessary-qualifier.md update 3 years ago
no-unnecessary-type-arguments.md update 3 years ago
no-unnecessary-type-assertion.md update 3 years ago
no-unnecessary-type-constraint.md update 3 years ago
no-unsafe-argument.md update 3 years ago
no-unsafe-assignment.md update 3 years ago
no-unsafe-call.md update 3 years ago
no-unsafe-member-access.md update 3 years ago
no-unsafe-return.md update 3 years ago
no-unused-expressions.md update 3 years ago
no-unused-vars.md update 3 years ago
no-use-before-define.md update 3 years ago
no-useless-constructor.md update 3 years ago
no-useless-empty-export.md update 3 years ago
no-var-requires.md update 3 years ago
non-nullable-type-assertion-style.md update 3 years ago
object-curly-spacing.md update 3 years ago
padding-line-between-statements.md update 3 years ago
parameter-properties.md update 3 years ago
prefer-as-const.md update 3 years ago
prefer-enum-initializers.md update 3 years ago
prefer-for-of.md update 3 years ago
prefer-function-type.md update 3 years ago
prefer-includes.md update 3 years ago
prefer-literal-enum-member.md update 3 years ago
prefer-namespace-keyword.md update 3 years ago
prefer-nullish-coalescing.md update 3 years ago
prefer-optional-chain.md update 3 years ago
prefer-readonly-parameter-types.md update 3 years ago
prefer-readonly.md update 3 years ago
prefer-reduce-type-parameter.md update 3 years ago
prefer-regexp-exec.md update 3 years ago
prefer-return-this-type.md update 3 years ago
prefer-string-starts-ends-with.md update 3 years ago
prefer-ts-expect-error.md update 3 years ago
promise-function-async.md update 3 years ago
quotes.md update 3 years ago
require-array-sort-compare.md update 3 years ago
require-await.md update 3 years ago
restrict-plus-operands.md update 3 years ago
restrict-template-expressions.md update 3 years ago
return-await.md update 3 years ago
semi.md update 3 years ago
sort-type-union-intersection-members.md update 3 years ago
space-before-blocks.md update 3 years ago
space-before-function-paren.md update 3 years ago
space-infix-ops.md update 3 years ago
strict-boolean-expressions.md update 3 years ago
switch-exhaustiveness-check.md update 3 years ago
triple-slash-reference.md update 3 years ago
type-annotation-spacing.md update 3 years ago
typedef.md update 3 years ago
unbound-method.md update 3 years ago
unified-signatures.md update 3 years ago

README.md

title sidebar_label pagination_next pagination_prev slug
Overview Overview <nil> <nil> /

@typescript-eslint/eslint-plugin includes over 100 rules that detect best practice violations, bugs, and/or stylistic issues specifically for TypeScript code. See Configs for how to enable recommended rules using configs.

Supported Rules

import RulesTable from "@site/src/components/RulesTable";

Extension Rules

In some cases, ESLint provides a rule itself, but it doesn't support TypeScript syntax; either it crashes, or it ignores the syntax, or it falsely reports against it. In these cases, we create what we call an extension rule; a rule within our plugin that has the same functionality, but also supports TypeScript.