Skip to content

Commit 399a8ad

Browse files
authored
💫 chore: upgrade eslint v9.22.0 (#456)
1 parent ef5135b commit 399a8ad

File tree

4 files changed

+1368
-1767
lines changed

4 files changed

+1368
-1767
lines changed

components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// @ts-nocheck
33
// Generated by unplugin-vue-components
44
// Read more: https://github.com/vuejs/core/pull/3399
5+
// biome-ignore lint: disable
56
export {}
67

78
/* prettier-ignore */

eslint.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import globals from 'globals'
2-
import { defineFlatConfig } from 'eslint-define-config'
2+
import { defineConfig } from 'eslint/config'
3+
34

45
import * as parserTypeScript from '@typescript-eslint/parser'
56
import pluginTypeScript from '@typescript-eslint/eslint-plugin'
@@ -22,7 +23,7 @@ function renameRules(rules, map) {
2223
)
2324
}
2425

25-
export default defineFlatConfig([
26+
export default defineConfig([
2627
{
2728
ignores: [
2829
'public',
@@ -405,10 +406,10 @@ export default defineFlatConfig([
405406
},
406407
processor: pluginVue.processors['.vue'],
407408
rules: {
408-
...pluginVue.configs.base.rules,
409-
...pluginVue.configs['vue3-essential'].rules,
410-
...pluginVue.configs['vue3-strongly-recommended'].rules,
411-
...pluginVue.configs['vue3-recommended'].rules,
409+
...pluginVue.configs['flat/base'].rules,
410+
...pluginVue.configs['flat/essential'].rules,
411+
...pluginVue.configs['flat/recommended'].rules,
412+
...pluginVue.configs['flat/strongly-recommended'].rules,
412413
'vue/no-v-html': 'off',
413414
'vue/multi-word-component-names': 0,
414415
'vue/singleline-html-element-content-newline': 'off',
@@ -423,7 +424,6 @@ export default defineFlatConfig([
423424
'order': ['script', 'template', 'style']
424425
}],
425426
'vue/padding-line-between-blocks': ['error', 'always'],
426-
'vue/script-setup-uses-vars': 'error',
427427
'vue/html-self-closing': ['error', {
428428
html: {
429429
void: 'never',

package.json

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
},
5050
"dependencies": {
5151
"@element-plus/icons-vue": "2.3.1",
52-
"axios": "1.7.9",
52+
"axios": "1.8.2",
5353
"echarts": "^5.6.0",
54-
"element-plus": "2.9.4",
54+
"element-plus": "2.9.6",
5555
"js-cookie": "^3.0.5",
5656
"lodash-es": "^4.17.21",
5757
"nprogress": "^0.2.0",
@@ -60,51 +60,50 @@
6060
"vuex": "^4.1.0"
6161
},
6262
"devDependencies": {
63-
"@babel/core": "^7.26.8",
64-
"@babel/preset-env": "^7.26.8",
65-
"@eslint/js": "^9.20.0",
66-
"@iconify/json": "^2.2.306",
63+
"@babel/core": "^7.26.9",
64+
"@babel/preset-env": "^7.26.9",
65+
"@eslint/js": "^9.22.0",
66+
"@iconify/json": "^2.2.314",
6767
"@iconify/vue": "^4.3.0",
68-
"@stylistic/eslint-plugin": "^3.1.0",
68+
"@stylistic/eslint-plugin": "^4.2.0",
6969
"@stylistic/stylelint-plugin": "^3.1.2",
7070
"@types/js-cookie": "^3.0.6",
7171
"@types/lodash-es": "^4.17.12",
72-
"@types/node": "^22.13.4",
72+
"@types/node": "^22.13.10",
7373
"@types/nprogress": "^0.2.3",
74-
"@typescript-eslint/eslint-plugin": "^8.24.0",
75-
"@typescript-eslint/parser": "^8.24.0",
74+
"@typescript-eslint/eslint-plugin": "^8.26.0",
75+
"@typescript-eslint/parser": "^8.26.0",
7676
"@vitejs/plugin-vue": "^5.2.1",
77-
"@vitest/coverage-v8": "^3.0.5",
77+
"@vitest/coverage-v8": "^3.0.8",
7878
"@vue/compiler-sfc": "^3.5.13",
7979
"@vue/test-utils": "2.4.6",
8080
"babel-plugin-transform-vite-meta-env": "^1.0.3",
8181
"cross-env": "^7.0.3",
82-
"eslint": "^9.20.1",
83-
"eslint-define-config": "^2.1.0",
82+
"eslint": "^9.22.0",
8483
"eslint-plugin-html": "8.1.2",
8584
"eslint-plugin-import": "^2.31.0",
86-
"eslint-plugin-vue": "9.32.0",
87-
"globals": "^15.15.0",
85+
"eslint-plugin-vue": "10.0.0",
86+
"globals": "^16.0.0",
8887
"husky": "^9.1.7",
8988
"jsdom": "^26.0.0",
9089
"lint-staged": "^15.4.3",
91-
"postcss": "^8.5.2",
90+
"postcss": "^8.5.3",
9291
"postcss-html": "^1.8.0",
9392
"postcss-scss": "^4.0.9",
94-
"rollup": "4.34.6",
95-
"sass": "1.85.0",
96-
"stylelint": "^16.14.1",
93+
"rollup": "4.35.0",
94+
"sass": "1.85.1",
95+
"stylelint": "^16.15.0",
9796
"stylelint-config-recommended-scss": "^14.1.0",
9897
"stylelint-config-recommended-vue": "^1.6.0",
9998
"stylelint-config-standard": "^37.0.0",
10099
"stylelint-config-standard-scss": "14.0.0",
101-
"typescript": "^5.7.3",
102-
"unocss": "65.4.3",
103-
"unplugin-auto-import": "^19.0.0",
104-
"unplugin-icons": "^22.0.0",
105-
"unplugin-vue-components": "^28.0.0",
106-
"vite": "^6.1.0",
107-
"vitest": "^3.0.5",
108-
"vue-eslint-parser": "^9.4.3"
100+
"typescript": "^5.8.2",
101+
"unocss": "66.1.0-beta.3",
102+
"unplugin-auto-import": "^19.1.1",
103+
"unplugin-icons": "^22.1.0",
104+
"unplugin-vue-components": "^28.4.1",
105+
"vite": "^6.2.1",
106+
"vitest": "^3.0.8",
107+
"vue-eslint-parser": "^10.1.1"
109108
}
110109
}

0 commit comments

Comments
 (0)