From 61f2f93eb42a74e8d4033ae6537391c5975bde62 Mon Sep 17 00:00:00 2001 From: takanome_dev Date: Sat, 3 Jun 2023 12:07:12 +0000 Subject: [PATCH] docs: fix broken links in Configurations file --- docs/linting/Configurations.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/linting/Configurations.mdx b/docs/linting/Configurations.mdx index 9048a1605a94..ca900f2fb6e4 100644 --- a/docs/linting/Configurations.mdx +++ b/docs/linting/Configurations.mdx @@ -89,7 +89,7 @@ module.exports = { }; ``` -See [`configs/recommended-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-type-checked.ts) for the exact contents of this config. +See [`configs/recommended-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/v6/packages/eslint-plugin/src/configs/recommended-type-checked.ts) for the exact contents of this config. ### `strict` @@ -119,7 +119,7 @@ module.exports = { }; ``` -See [`configs/strict-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/strict-type-checked.ts) for the exact contents of this config. +See [`configs/strict-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/v6/packages/eslint-plugin/src/configs/strict-type-checked.ts) for the exact contents of this config. :::caution We recommend a TypeScript project extend from `plugin:@typescript-eslint/strict-type-checked` only if a nontrivial percentage of its developers are highly proficient in TypeScript. @@ -136,7 +136,7 @@ module.exports = { }; ``` -See [`configs/stylistic.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/stylistic.ts) for the exact contents of this config. +See [`configs/stylistic.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/v6/packages/eslint-plugin/src/configs/stylistic.ts) for the exact contents of this config. ### `stylistic-type-checked` @@ -149,7 +149,7 @@ module.exports = { }; ``` -See [`configs/stylistic-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/strict-type-checked.ts) for the exact contents of this config. +See [`configs/stylistic-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/v6/packages/eslint-plugin/src/configs/strict-type-checked.ts) for the exact contents of this config. ## Other Configurations @@ -181,7 +181,7 @@ See [`configs/base.ts`](https://github.com/typescript-eslint/typescript-eslint/b A utility ruleset that will disable type-aware linting and all type-aware rules available in our project. This config is useful if you'd like to have your base config concerned with type-aware linting, and then conditionally use [overrides](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-based-on-glob-patterns) to disable type-aware linting on specific subsets of your codebase. -See [`configs/disable-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/disable-type-checked.ts) for the exact contents of this config. +See [`configs/disable-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/v6/packages/eslint-plugin/src/configs/disable-type-checked.ts) for the exact contents of this config. :::info If you use type-aware rules from other plugins, you will need to manually disable these rules or use a premade config they provide to disable them.