Skip to content

Commit

Permalink
wip: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
JunaYa committed Dec 10, 2024
1 parent 291c9d3 commit 8bca6d0
Show file tree
Hide file tree
Showing 3 changed files with 481 additions and 423 deletions.
9 changes: 1 addition & 8 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ import antfu from '@antfu/eslint-config'
export default await antfu(
{
unocss: true,
vue: {
overrides: {
'vue/no-restricted-syntax': ['error', {
selector: 'VElement[name=\'a\']',
message: 'Use NuxtLink instead.',
}],
},
},
vue: {},
ignores: [
'public/**',
'src-tauri/**',
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint --fix",
"lint": "echo 'eslint'",
"tauri": "tauri"
},
"dependencies": {
"@tauri-apps/api": "^2.1.1",
"@tauri-apps/plugin-autostart": "~2.0.0",
"@tauri-apps/plugin-clipboard-manager": "^2.0.0",
"@tauri-apps/plugin-dialog": "~2.0.1",
"@tauri-apps/plugin-fs": "~2.0.2",
"@tauri-apps/plugin-clipboard-manager": "^2.2.0",
"@tauri-apps/plugin-dialog": "~2.0.2",
"@tauri-apps/plugin-fs": "~2.0.4",
"@tauri-apps/plugin-global-shortcut": "~2.0.0",
"@tauri-apps/plugin-os": "~2.0.0",
"@tauri-apps/plugin-positioner": "~2.0.1",
"@tauri-apps/plugin-shell": "^2.0.1",
"@tauri-apps/plugin-shell": "^2.2.0",
"@tauri-apps/plugin-store": "~2.1.0",
"@vueuse/core": "^11.3.0",
"vue": "^3.5.13"
Expand All @@ -31,9 +31,10 @@
"@unocss/eslint-config": "^0.64.1",
"@unocss/preset-mini": "^0.64.1",
"@vitejs/plugin-vue": "^5.2.1",
"eslint": "^9.15.0",
"eslint": "^9.16.0",
"eslint-plugin-format": "^0.1.3",
"unocss": "^0.64.1",
"vite": "^6.0.1",
"vite": "^6.0.3",
"vue-tsc": "^2.1.10"
},
"dmg": {
Expand Down
Loading

0 comments on commit 8bca6d0

Please sign in to comment.