mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 10:56:13 -08:00
🐳 chore: eslint config and script
`eslint` 只忽略 `tauri` 文件目录 增加 `eslint` 自动修复命令
This commit is contained in:
1 parent
a8c4b1feac
commit
fb2a6d9b17
2 files changed
+2
-3
No files matched your search
@@ -8,7 +8,5 @@ export default antfu({
|
||||
},
|
||||
ignores: [
|
||||
'src-tauri/**',
|
||||
'**/vite-env.d.ts',
|
||||
'**/typed-router.d.ts',
|
||||
],
|
||||
})
|
||||
@@ -8,7 +8,8 @@
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"preview": "vite preview",
|
||||
"tauri": "tauri",
|
||||
"lint": "eslint . --ignore-pattern src-tauri --ignore-pattern src/**.d.ts"
|
||||
"lint": "eslint . --ignore-pattern src-tauri",
|
||||
"lint:fix": "eslint . --ignore-pattern src-tauri --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^1",
|
||||
|
||||
Reference in new issue
Block a user