Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"MenuOption": true,
"NavigationFailure": true,
"NavigationGuard": true,
"NotificationPlacement": true,
"PropType": true,
"Ref": true,
"RouteLocationNormalizedLoaded": true,
Expand Down Expand Up @@ -95,6 +96,7 @@
"onStartTyping": true,
"onUnmounted": true,
"onUpdated": true,
"onWatcherCleanup": true,
"pausableWatch": true,
"provide": true,
"provideLocal": true,
Expand All @@ -111,6 +113,7 @@
"refDefault": true,
"refThrottled": true,
"refWithControl": true,
"reloadRouterViewInjectionKey": true,
"render": true,
"resolveComponent": true,
"resolveRef": true,
Expand Down Expand Up @@ -141,6 +144,7 @@
"until": true,
"useActiveElement": true,
"useAnimate": true,
"useApplyForceReload": true,
"useArrayDifference": true,
"useArrayEvery": true,
"useArrayFilter": true,
Expand Down Expand Up @@ -214,6 +218,7 @@
"useGamepad": true,
"useGeolocation": true,
"useHomeFrontStore": true,
"useId": true,
"useIdle": true,
"useImage": true,
"useInfiniteScroll": true,
Expand All @@ -237,6 +242,7 @@
"useMemoize": true,
"useMemory": true,
"useMessage": true,
"useModel": true,
"useMounted": true,
"useMouse": true,
"useMouseInElement": true,
Expand Down Expand Up @@ -267,6 +273,7 @@
"useProjectStore": true,
"useRafFn": true,
"useRefHistory": true,
"useRegisterForceReload": true,
"useResizeObserver": true,
"useResultStore": true,
"useRoute": true,
Expand All @@ -289,6 +296,7 @@
"useSupported": true,
"useSwipe": true,
"useTabRouter": true,
"useTemplateRef": true,
"useTemplateRefsList": true,
"useTextDirection": true,
"useTextSelection": true,
Expand Down Expand Up @@ -340,10 +348,6 @@
"watchThrottled": true,
"watchTriggerable": true,
"watchWithFilter": true,
"whenever": true,
"NotificationPlacement": true,
"reloadRouterViewInjectionKey": true,
"useApplyForceReload": true,
"useRegisterForceReload": true
"whenever": true
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ __[🌈 Live Demo 在线体验](https://pdsuwwz.github.io/vue3-tab-demo)__
## 🌱 技术栈

* Naive UI 2.x
* Vue 3.4.x
* Vue 3.5.x
* Vite 5.x + Vitest
* Pinia 2.x
* TypeScript 5.x
Expand All @@ -47,7 +47,7 @@ __[🌈 Live Demo 在线体验](https://pdsuwwz.github.io/vue3-tab-demo)__

## 前置条件

* Vue 3.4.x
* Vue 3.5.x
* Node >= 16.15.x
* Pnpm 8.x
* **VS Code 插件 `dbaeumer.vscode-eslint` >= v3.0.5 (pre-release)**
Expand Down
328 changes: 9 additions & 319 deletions auto-imports.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

/* eslint-disable */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
Expand Down
28 changes: 11 additions & 17 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,17 @@ export default defineFlatConfig([
}
}
}],
'@stylistic/no-trailing-spaces': ['error']
'@stylistic/no-trailing-spaces': ['error'],
'@stylistic/member-delimiter-style': ['error', {
multiline: {
delimiter: 'none',
requireLast: false
},
singleline: {
delimiter: 'semi',
requireLast: true
}
}]
}
},
{
Expand Down Expand Up @@ -358,27 +368,11 @@ export default defineFlatConfig([
}
),
...pluginTypeScript.configs.recommended.rules,
'@typescript-eslint/indent': ['error', 2, {
SwitchCase: 1
}],
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 1,
'@typescript-eslint/no-namespace': 0,
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
requireLast: false
},
singleline: {
delimiter: 'semi',
requireLast: true
}
}
],
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/consistent-type-imports': ['error', {
Expand Down
72 changes: 36 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,68 +63,68 @@
"@vicons/material": "^0.12.0",
"@vicons/tabler": "^0.12.0",
"@vicons/utils": "^0.1.4",
"@vueuse/core": "^10.11.0",
"axios": "1.7.2",
"@vueuse/core": "^11.1.0",
"axios": "1.7.7",
"echarts": "^5.5.1",
"js-cookie": "^3.0.5",
"lodash-es": "^4.17.21",
"naive-ui": "^2.39.0",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"pinia": "^2.2.2",
"uuid": "^10.0.0",
"vue": "^3.4.33",
"vue-router": "^4.4.0"
"vue": "^3.5.6",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.24.8",
"@eslint/js": "^9.7.0",
"@iconify/json": "^2.2.230",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@eslint/js": "^9.10.0",
"@iconify/json": "^2.2.249",
"@iconify/vue": "^4.1.2",
"@stylistic/eslint-plugin": "^2.3.0",
"@stylistic/stylelint-plugin": "^2.1.2",
"@stylistic/eslint-plugin": "^2.8.0",
"@stylistic/stylelint-plugin": "^3.0.1",
"@types/js-cookie": "^3.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.14.11",
"@types/node": "^22.5.5",
"@types/nprogress": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"@vitest/coverage-v8": "^2.0.4",
"@vue/compiler-sfc": "^3.4.33",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vitest/coverage-v8": "^2.1.1",
"@vue/compiler-sfc": "^3.5.6",
"@vue/test-utils": "2.4.6",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
"cross-env": "^7.0.3",
"eslint": "^9.7.0",
"eslint": "^9.10.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-html": "8.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vue": "^9.27.0",
"globals": "^15.8.0",
"husky": "^9.1.1",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-vue": "^9.28.0",
"globals": "^15.9.0",
"husky": "^9.1.6",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.7",
"postcss": "^8.4.39",
"jsdom": "^25.0.0",
"lint-staged": "^15.2.10",
"postcss": "^8.4.47",
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"rollup": "^4.19.0",
"sass": "^1.77.8",
"stylelint": "^16.7.0",
"rollup": "^4.21.3",
"sass": "^1.79.1",
"stylelint": "^16.9.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "13.1.0",
"sucrase": "^3.35.0",
"typescript": "^5.5.4",
"unocss": "^0.61.5",
"unplugin-auto-import": "^0.18.0",
"unplugin-icons": "^0.19.0",
"unplugin-vue-components": "^0.27.3",
"vite": "^5.3.4",
"typescript": "^5.6.2",
"unocss": "^0.62.4",
"unplugin-auto-import": "^0.18.3",
"unplugin-icons": "^0.19.3",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.6",
"vite-svg-loader": "^5.1.0",
"vitest": "^2.0.4",
"vitest": "^2.1.1",
"vue-eslint-parser": "^9.4.3"
}
}
Loading