File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change
1
+ import { defineConfig , globalIgnores } from "eslint/config" ;
1
2
import eslintConfigESLint from "eslint-config-eslint" ;
2
3
import eslintConfigESLintFormatting from "eslint-config-eslint/formatting" ;
3
4
4
- export default [
5
- {
6
- ignores : [
7
- "coverage/" ,
8
- "tests/fixtures/"
9
- ]
10
- } ,
11
- ...eslintConfigESLint ,
5
+ export default defineConfig ( [
6
+ globalIgnores ( [ "coverage/" , "tests/fixtures/" ] ) ,
7
+ eslintConfigESLint ,
12
8
eslintConfigESLintFormatting
13
- ] ;
9
+ ] ) ;
Original file line number Diff line number Diff line change 46
46
},
47
47
"devDependencies" : {
48
48
"@vitest/coverage-v8" : " ^1.3.1" ,
49
- "eslint" : " ^9.4 .0" ,
49
+ "eslint" : " ^9.27 .0" ,
50
50
"eslint-config-eslint" : " ^11.0.0" ,
51
51
"eslint-release" : " ^3.2.0" ,
52
52
"lint-staged" : " ^12.1.2" ,
You can’t perform that action at this time.
0 commit comments