You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ module.exports = [
72
72
73
73
## Usage (legacy: `.eslintrc.*` or `package.json`)
74
74
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`.
76
76
77
77
If you don't use the preset, ensure you use the same `env` and `parserOptions` config as below.
78
78
@@ -242,13 +242,13 @@ See [docs/deprecated-rules.md](docs/deprecated-rules.md)
242
242
243
243
## Preset configs (`eslint.config.js`)
244
244
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.
246
246
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).
248
248
249
249
### Recommended config
250
250
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.
252
252
253
253
#### ES Module (Recommended)
254
254
@@ -285,7 +285,7 @@ module.exports = [
285
285
286
286
### All config
287
287
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).
289
289
290
290
#### ES Module (Recommended)
291
291
@@ -320,15 +320,15 @@ module.exports = [
320
320
];
321
321
```
322
322
323
-
## Preset configs (`.eslintrc.*` or `package.json`)
323
+
## Legacy preset configs (`.eslintrc.*` or `package.json`)
324
324
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.
326
326
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).
328
328
329
-
### Recommended config
329
+
### Recommended legacy config
330
330
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.
332
332
333
333
```json
334
334
{
@@ -342,9 +342,9 @@ This plugin exports a [`recommended` config](configs/recommended.js) that enforc
342
342
}
343
343
```
344
344
345
-
### All config
345
+
### All legacy config
346
346
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).
0 commit comments