Skip to content

Commit ddc9ca9

Browse files
authored
Update README.md
1 parent c464846 commit ddc9ca9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,18 @@ Disables ESLint rules that have an [**equivalent and recommended**](https://gith
3636
npm install -D eslint-config-biome # or your preferred package manager ;)
3737
```
3838

39-
- `.eslintrc.*`: Add the following as the last item in the `"overrides"` array. Create it if necessary.
39+
- `eslint.config.js`: Import `eslint-config-biome` and have it as the last item in the configuration array
40+
41+
```js
42+
import biome from "eslint-config-biome";
43+
44+
export default [
45+
// other configs,
46+
biome,
47+
];
48+
```
49+
50+
- Or `.eslintrc.*` (eslint <= v8): Add the following as the last item in the `"overrides"` array. Create it if necessary.
4051

4152
```json5
4253
{
@@ -50,17 +61,6 @@ npm install -D eslint-config-biome # or your preferred package manager ;)
5061
}
5162
```
5263

53-
- Or `eslint.config.js`: Import `eslint-config-biome` and have it as the last item in the configuration array
54-
55-
```js
56-
import biome from "eslint-config-biome";
57-
58-
export default [
59-
// other configs,
60-
biome,
61-
];
62-
```
63-
6464
## ℹ️ Info
6565

6666
- In VSCode, to apply Biome and ESLint on save, you should have these in your project's `.vscode/settings.json`:

0 commit comments

Comments
 (0)