Skip to content

Commit f55881f

Browse files
authored
docs: remove configuration-files-new.md (#17907)
* docs: remove configuration-files-new.md * fix link in command-line-interface * fix link in custom-rule-tutorial
1 parent 63ae191 commit f55881f

File tree

9 files changed

+9
-690
lines changed

9 files changed

+9
-690
lines changed

docs/src/extend/custom-rule-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ You might want to use a locally defined plugin in one of the following scenarios
284284
* You want to test the plugin before publishing it to npm.
285285
* You want to use a plugin, but do not want to publish it to npm.
286286

287-
Before you can add the plugin to the project, create an ESLint configuration for your project using a [flat configuration file](../use/configure/configuration-files-new), `eslint.config.js`:
287+
Before you can add the plugin to the project, create an ESLint configuration for your project using a [flat configuration file](../use/configure/configuration-files), `eslint.config.js`:
288288

289289
```shell
290290
touch eslint.config.js

docs/src/use/command-line-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Please note that when passing a glob as a parameter, it is expanded by your shel
3636
npx eslint "lib/**"
3737
```
3838

39-
If you are using a [flat configuration file](./configure/configuration-files-new) (`eslint.config.js`), you can also omit the file arguments and ESLint will use `.`. For instance, these two lines perform the same operation:
39+
If you are using a [flat configuration file](./configure/configuration-files) (`eslint.config.js`), you can also omit the file arguments and ESLint will use `.`. For instance, these two lines perform the same operation:
4040

4141
```shell
4242
npx eslint .

docs/src/use/configure/configuration-files-new.md

Lines changed: 0 additions & 679 deletions
This file was deleted.

docs/src/use/configure/ignore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ eleventyNavigation:
44
key: ignore files
55
parent: configure
66
title: Ignore Files
7-
order: 7
7+
order: 6
88

99
---
1010

docs/src/use/configure/language-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ eleventyNavigation:
44
key: configure language options
55
parent: configure
66
title: Configure Language Options
7-
order: 3
7+
order: 2
88
---
99

1010
::: tip

docs/src/use/configure/migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ eleventyNavigation:
44
key: migration guide
55
parent: configure
66
title: Configuration Migration Guide
7-
order: 8
7+
order: 7
88
---
99

1010
This guide provides an overview of how you can migrate your ESLint configuration file from the eslintrc format (typically configured in `.eslintrc.js` or `.eslintrc.json` files) to the new flat config format (typically configured in an `eslint.config.js` file).

docs/src/use/configure/parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ eleventyNavigation:
44
key: configure parser
55
parent: configure
66
title: Configure a Parser
7-
order: 6
7+
order: 5
88
---
99

1010
::: tip

docs/src/use/configure/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ eleventyNavigation:
44
key: configure plugins
55
parent: configure
66
title: Configure Plugins
7-
order: 5
7+
order: 4
88

99
---
1010

docs/src/use/configure/rules.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ eleventyNavigation:
44
key: configure rules
55
parent: configure
66
title: Configure Rules
7-
order: 4
7+
order: 3
88

99
---
1010

@@ -319,8 +319,6 @@ export default [
319319
rules: {
320320
"no-unused-expressions": "off"
321321
}
322-
"no-unused-expressions": "off"
323-
}
324322
}
325323
];
326324
```
@@ -339,7 +337,7 @@ export default [
339337
rules: {
340338
"no-unused-expressions": "error"
341339
}
342-
}
340+
}
343341
];
344342
```
345343

0 commit comments

Comments
 (0)