From d696ea22cd3e15041bab907110476c312ec968e2 Mon Sep 17 00:00:00 2001 From: auvred <61150013+auvred@users.noreply.github.com> Date: Wed, 8 May 2024 11:15:14 +0300 Subject: [PATCH] docs(eslint-plugin): fix several 404 URLs (#9064) --- packages/eslint-plugin/docs/rules/consistent-type-imports.mdx | 2 +- .../eslint-plugin/docs/rules/lines-between-class-members.mdx | 2 -- .../eslint-plugin/docs/rules/no-import-type-side-effects.mdx | 2 +- packages/eslint-plugin/docs/rules/unbound-method.mdx | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/eslint-plugin/docs/rules/consistent-type-imports.mdx b/packages/eslint-plugin/docs/rules/consistent-type-imports.mdx index 20ca6c4ff19d..8df00017e565 100644 --- a/packages/eslint-plugin/docs/rules/consistent-type-imports.mdx +++ b/packages/eslint-plugin/docs/rules/consistent-type-imports.mdx @@ -132,5 +132,5 @@ We recommend picking a single option for this rule that works best for your proj ## Related To - [`no-import-type-side-effects`](./no-import-type-side-effects.mdx) -- [`import/consistent-type-specifier-style`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/consistent-type-specifier-style.mdx) +- [`import/consistent-type-specifier-style`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/consistent-type-specifier-style.md) - [`import/no-duplicates` with `{"prefer-inline": true}`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md#inline-type-imports) diff --git a/packages/eslint-plugin/docs/rules/lines-between-class-members.mdx b/packages/eslint-plugin/docs/rules/lines-between-class-members.mdx index c093b715ee9e..0112c47cbfd6 100644 --- a/packages/eslint-plugin/docs/rules/lines-between-class-members.mdx +++ b/packages/eslint-plugin/docs/rules/lines-between-class-members.mdx @@ -21,8 +21,6 @@ In addition to the options supported by the `lines-between-class-members` rule i - `"exceptAfterOverload": true` (default) - Skip checking empty lines after overload class members - `"exceptAfterOverload": false` - **do not** skip checking empty lines after overload class members -- [See the other options allowed](https://github.com/eslint/eslint/blob/main/docs/rules/lines-between-class-members.md#options) - ### `exceptAfterOverload: true` Examples of **correct** code for the `{ "exceptAfterOverload": true }` option: diff --git a/packages/eslint-plugin/docs/rules/no-import-type-side-effects.mdx b/packages/eslint-plugin/docs/rules/no-import-type-side-effects.mdx index 6d0d39a3cd37..f115b036add2 100644 --- a/packages/eslint-plugin/docs/rules/no-import-type-side-effects.mdx +++ b/packages/eslint-plugin/docs/rules/no-import-type-side-effects.mdx @@ -76,5 +76,5 @@ If you're not using TypeScript 5.0's `verbatimModuleSyntax` option and your proj ## Related To - [`consistent-type-imports`](./consistent-type-imports.mdx) -- [`import/consistent-type-specifier-style`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/consistent-type-specifier-style.mdx) +- [`import/consistent-type-specifier-style`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/consistent-type-specifier-style.md) - [`import/no-duplicates` with `{"prefer-inline": true}`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md#inline-type-imports) diff --git a/packages/eslint-plugin/docs/rules/unbound-method.mdx b/packages/eslint-plugin/docs/rules/unbound-method.mdx index 87beb12da8eb..0399686b1e14 100644 --- a/packages/eslint-plugin/docs/rules/unbound-method.mdx +++ b/packages/eslint-plugin/docs/rules/unbound-method.mdx @@ -16,7 +16,7 @@ Otherwise, passing class methods around as values can remove type safety by fail This rule reports when a class method is referenced in an unbound manner. :::note Tip -If you're working with `jest`, you can use [`eslint-plugin-jest`'s version of this rule](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/unbound-method.mdx) to lint your test files, which knows when it's ok to pass an unbound method to `expect` calls. +If you're working with `jest`, you can use [`eslint-plugin-jest`'s version of this rule](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/unbound-method.md) to lint your test files, which knows when it's ok to pass an unbound method to `expect` calls. ::: ## Examples