From 6adb12983631b14233fe59f8a1c55372a506fae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sindre=20B=C3=B8yum?= Date: Sun, 27 Oct 2024 13:52:53 +0100 Subject: [PATCH 1/2] docs: update @typescript-eslint links --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 946d1cdb7..7288e13d6 100644 --- a/README.md +++ b/README.md @@ -188,10 +188,10 @@ These rules are what are included in the _external recommended_ rulesets. ### TypeScript Rules -- [@typescript-eslint/prefer-readonly](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly.md)\ +- [@typescript-eslint/prefer-readonly](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly.mdx)\ This rule is helpful when working with classes. -- [@typescript-eslint/switch-exhaustiveness-check](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md)\ +- [@typescript-eslint/switch-exhaustiveness-check]([https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx))\ Although our [no-conditional-statements](./docs/rules/no-conditional-statements.md) rule also performs this check, this rule has a fixer that will implement the unimplemented cases which can be useful. From 656186b3c38dbdbd4e063cd51c02fc2146566e21 Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Mon, 28 Oct 2024 02:09:58 +1300 Subject: [PATCH 2/2] docs: fix up link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7288e13d6..6bdad667d 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ These rules are what are included in the _external recommended_ rulesets. - [@typescript-eslint/prefer-readonly](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly.mdx)\ This rule is helpful when working with classes. -- [@typescript-eslint/switch-exhaustiveness-check]([https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx))\ +- [@typescript-eslint/switch-exhaustiveness-check](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx)\ Although our [no-conditional-statements](./docs/rules/no-conditional-statements.md) rule also performs this check, this rule has a fixer that will implement the unimplemented cases which can be useful.