From d0edf54c17a2e79bae9b648d014feab8f908c364 Mon Sep 17 00:00:00 2001 From: thilllon Date: Tue, 14 Feb 2023 01:21:20 +0900 Subject: [PATCH 1/2] Update Custom_Rules.mdx The link is not matching --- docs/Custom_Rules.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Custom_Rules.mdx b/docs/Custom_Rules.mdx index 0590398b8188..03016c715280 100644 --- a/docs/Custom_Rules.mdx +++ b/docs/Custom_Rules.mdx @@ -14,7 +14,7 @@ The main three changes to custom rules writing are: - [Utils Package](#utils-package): we recommend using `@typescript-eslint/utils` to create custom rules - [AST Extensions](#ast-extensions): targeting TypeScript-specific syntax in your rule selectors -- [Typed Rules](#typed-rules): using the TypeScript type checker to inform rule logic +- [Typed Rules](#type-checking): using the TypeScript type checker to inform rule logic ## Utils Package From 2f499f8022d895d474229a32ceaee67ceabe64fb Mon Sep 17 00:00:00 2001 From: thilllon Date: Wed, 15 Feb 2023 23:40:25 +0900 Subject: [PATCH 2/2] change "type checking" to "typed rules" --- docs/Custom_Rules.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Custom_Rules.mdx b/docs/Custom_Rules.mdx index 03016c715280..56cc78997923 100644 --- a/docs/Custom_Rules.mdx +++ b/docs/Custom_Rules.mdx @@ -14,7 +14,7 @@ The main three changes to custom rules writing are: - [Utils Package](#utils-package): we recommend using `@typescript-eslint/utils` to create custom rules - [AST Extensions](#ast-extensions): targeting TypeScript-specific syntax in your rule selectors -- [Typed Rules](#type-checking): using the TypeScript type checker to inform rule logic +- [Typed Rules](#typed-rules): using the TypeScript type checker to inform rule logic ## Utils Package @@ -202,7 +202,7 @@ export const rule = createRule({ }); ``` -## Type Checking +## Typed Rules :::tip Read TypeScript's [Compiler APIs > Using the Type Checker](https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API#using-the-type-checker) section for how to use a program's type checker.