Urara-Blog/node_modules/.pnpm-store/v3/files/4e/c3f5352110d8a0f67178b5459a04df44f6633f918320ba37c15925851b9ecce4062aa289a6d2a682f41175d6dc69784a5837037147773fb99218d8c47f354e
2022-08-14 01:14:53 +08:00

23 lines
810 B
Text

---
title: Overview
sidebar_label: Overview
pagination_next: null
pagination_prev: null
slug: /
---
`@typescript-eslint/eslint-plugin` includes over 100 rules that detect best practice violations, bugs, and/or stylistic issues specifically for TypeScript code.
See [Configs](/docs/linting/configs) for how to enable recommended rules using configs.
## Supported Rules
import RulesTable from "@site/src/components/RulesTable";
<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.
<RulesTable extensionRules />