chore: update eslint 10

This commit is contained in:
roymondchen 2026-03-17 20:03:45 +08:00
parent 18bfbefaf2
commit 5ae667b7ee
4 changed files with 335 additions and 299 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tmagic/eslint-config",
"version": "0.0.3",
"version": "0.0.4",
"main": "index.mjs",
"type": "module",
"repository": {
@ -9,20 +9,21 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"@eslint/js": "^9.34.0",
"@typescript-eslint/parser": "^8.41.0",
"@typescript-eslint/eslint-plugin": "^8.41.0 ",
"@stylistic/eslint-plugin": "^5.2.3",
"@eslint/js": "^10.0.1",
"@typescript-eslint/parser": "^8.57.1",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@stylistic/eslint-plugin": "^5.10.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-vue": "^10.4.0",
"eslint-plugin-prettier": "^5.5.4 ",
"globals": "^16.3.0",
"typescript-eslint": "^8.41.0"
"eslint-plugin-vue": "^10.8.0",
"vue-eslint-parser": "^10.3.0",
"eslint-plugin-prettier": "^5.5.4",
"globals": "^17.4.0",
"typescript-eslint": "^8.57.1"
},
"peerDependencies": {
"eslint": ">=9.24.0",
"prettier": ">=3.5.3"
"eslint": ">=10.0.0",
"prettier": ">=3.8.0"
}
}

View File

@ -54,7 +54,7 @@
"cz-conventional-changelog": "^3.3.0",
"element-plus": "^2.11.8",
"enquirer": "^2.4.1",
"eslint": "^9.39.1",
"eslint": "^10.0.3",
"execa": "^9.6.0",
"highlight.js": "^11.11.1",
"husky": "^9.1.7",
@ -62,7 +62,7 @@
"lint-staged": "^16.2.7",
"minimist": "^1.2.8",
"picocolors": "^1.1.1",
"prettier": "^3.6.2",
"prettier": "^3.8.1",
"recast": "^0.23.11",
"rimraf": "^3.0.2",
"rolldown": "^1.0.0-rc.9",
@ -76,7 +76,7 @@
"vitepress": "^1.6.4",
"vitest": "^4.1.0",
"vue": "catalog:",
"vue-tsc": "^3.1.4"
"vue-tsc": "^3.2.6"
},
"config": {
"commitizen": {

View File

@ -41,7 +41,7 @@
:icon="Delete"
:disabled="disabled"
:size="size"
@click="removeEvent(index)"
@click="removeEvent(Number(index))"
></TMagicButton>
</template>
</MPanel>

603
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff