Skip to content

Commit f24881c

Browse files
chore(deps): update devdependency eslint to v9 (unjs#394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <[email protected]>
1 parent 4fbeda7 commit f24881c

File tree

6 files changed

+458
-365
lines changed

6 files changed

+458
-365
lines changed

Diff for: eslint.config.mjs

+28
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,32 @@ export default antfu({
55
rules: {
66
'ts/method-signature-style': 'off',
77
},
8+
}).append({
9+
files: ['test/**/*.bench.ts'],
10+
rules: {
11+
'test/consistent-test-it': 'off',
12+
},
13+
}, {
14+
files: ['test/**/*.test.ts'],
15+
rules: {
16+
'regexp/no-dupe-disjunctions': 'off',
17+
'regexp/strict': 'off',
18+
'regexp/no-useless-assertions': 'off',
19+
'regexp/no-useless-backreference': 'off',
20+
'regexp/no-empty-group': 'off',
21+
'regexp/no-empty-capturing-group': 'off',
22+
'regexp/no-useless-non-capturing-group': 'off',
23+
'regexp/no-useless-character-class': 'off',
24+
'regexp/prefer-d': 'off',
25+
'regexp/prefer-character-class': 'off',
26+
'regexp/use-ignore-case': 'off',
27+
'regexp/optimal-quantifier-concatenation': 'off',
28+
'regexp/no-useless-quantifier': 'off',
29+
'regexp/prefer-plus-quantifier': 'off',
30+
},
31+
}, {
32+
files: ['docs/**/*'],
33+
rules: {
34+
'regexp/prefer-character-class': 'off',
35+
},
836
})

Diff for: package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
"unplugin": "^1.8.3"
5959
},
6060
"devDependencies": {
61-
"@antfu/eslint-config": "2.8.0",
61+
"@antfu/eslint-config": "2.19.0",
6262
"@codspeed/vitest-plugin": "3.1.0",
6363
"@nuxt/kit": "3.10.3",
6464
"@types/estree": "1.0.5",
6565
"@types/node": "20.11.30",
6666
"@vitest/coverage-v8": "1.3.1",
6767
"acorn": "8.11.3",
6868
"bumpp": "9.4.1",
69-
"eslint": "8.57.0",
69+
"eslint": "9.3.0",
7070
"expect-type": "0.18.0",
7171
"lint-staged": "latest",
7272
"rollup": "4.12.1",
@@ -76,15 +76,15 @@
7676
"vite": "5.2.11",
7777
"vitest": "1.3.1"
7878
},
79+
"pnpm": {
80+
"patchedDependencies": {
81+
82+
}
83+
},
7984
"resolutions": {
8085
"magic-regexp": "link:."
8186
},
8287
"simple-git-hooks": {
8388
"pre-commit": "npx lint-staged"
84-
},
85-
"pnpm": {
86-
"patchedDependencies": {
87-
88-
}
8989
}
9090
}

0 commit comments

Comments
 (0)