Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58ab2f6

Browse files
docs: fix order of installation steps in getting started (#19326)
1 parent 208e0b1 commit 58ab2f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/use/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ Before you begin, you must already have a `package.json` file. If you don't, mak
112112
args: ["--save-dev"]
113113
}) }}
114114

115-
1. Add an `eslint.config.js` file:
115+
2. Add an `eslint.config.js` file:
116116

117117
```shell
118118
# Create JavaScript configuration file
119119
touch eslint.config.js
120120
```
121121

122-
1. Add configuration to the `eslint.config.js` file. Refer to the [Configure ESLint documentation](configure/) to learn how to add rules, custom configurations, plugins, and more.
122+
3. Add configuration to the `eslint.config.js` file. Refer to the [Configure ESLint documentation](configure/) to learn how to add rules, custom configurations, plugins, and more.
123123

124124
```js
125125
import pluginJs from "@eslint/js";
@@ -136,7 +136,7 @@ Before you begin, you must already have a `package.json` file. If you don't, mak
136136
];
137137
```
138138

139-
1. Lint code using the ESLint CLI:
139+
4. Lint code using the ESLint CLI:
140140

141141
{{ npx_tabs({
142142
package: "eslint",

0 commit comments

Comments
 (0)