File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,18 @@ Disables ESLint rules that have an [**equivalent and recommended**](https://gith
3636npm 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`:
You can’t perform that action at this time.
0 commit comments