Skip to content

Commit 2620cdf

Browse files
authored
Fix readme links (#2478)
1 parent 16b09d3 commit 2620cdf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

readme.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = [
7272

7373
## Usage (legacy: `.eslintrc.*` or `package.json`)
7474

75-
Use a [preset config](#preset-configs-eslintrc-or-packagejson) or configure each rule in `package.json`.
75+
Use a [preset config](#legacy-preset-configs-eslintrc-or-packagejson) or configure each rule in `package.json`.
7676

7777
If you don't use the preset, ensure you use the same `env` and `parserOptions` config as below.
7878

@@ -242,13 +242,13 @@ See [docs/deprecated-rules.md](docs/deprecated-rules.md)
242242

243243
## Preset configs (`eslint.config.js`)
244244

245-
See the [ESLint docs](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new) for more information about extending config files.
245+
See the [ESLint docs](https://eslint.org/docs/latest/use/configure/configuration-files) for more information about extending config files.
246246

247-
**Note**: Preset configs will also enable the correct [language options](https://eslint.org/docs/latest/use/configure/configuration-files-new#configuring-language-options).
247+
**Note**: Preset configs will also enable the correct [language options](https://eslint.org/docs/latest/use/configure/language-options).
248248

249249
### Recommended config
250250

251-
This plugin exports a [`recommended` config](configs/recommended.js) that enforces good practices.
251+
This plugin exports a `recommended` config that enforces good practices.
252252

253253
#### ES Module (Recommended)
254254

@@ -285,7 +285,7 @@ module.exports = [
285285

286286
### All config
287287

288-
This plugin exports an [`all` config](configs/all.js) that makes use of all rules (except for deprecated ones).
288+
This plugin exports an `all` that makes use of all rules (except for deprecated ones).
289289

290290
#### ES Module (Recommended)
291291

@@ -320,15 +320,15 @@ module.exports = [
320320
];
321321
```
322322

323-
## Preset configs (`.eslintrc.*` or `package.json`)
323+
## Legacy preset configs (`.eslintrc.*` or `package.json`)
324324

325-
See the [ESLint docs](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) for more information about extending config files.
325+
See the [ESLint docs](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated) for more information about extending deprecated legacy config files.
326326

327-
**Note**: Preset configs will also enable the correct [parser options](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options) and [environment](https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments).
327+
**Note**: Preset configs will also enable the correct [parser options](https://eslint.org/docs/latest/use/configure/parser-deprecated) and [environment](https://eslint.org/docs/latest/use/configure/language-options-deprecated).
328328

329-
### Recommended config
329+
### Recommended legacy config
330330

331-
This plugin exports a [`recommended` config](configs/recommended.js) that enforces good practices.
331+
This plugin exports a `recommended` legacy config that enforces good practices.
332332

333333
```json
334334
{
@@ -342,9 +342,9 @@ This plugin exports a [`recommended` config](configs/recommended.js) that enforc
342342
}
343343
```
344344

345-
### All config
345+
### All legacy config
346346

347-
This plugin exports an [`all` config](configs/all.js) that makes use of all rules (except for deprecated ones).
347+
This plugin exports an `all` legacy config that makes use of all rules (except for deprecated ones).
348348

349349
```json
350350
{

0 commit comments

Comments
 (0)