mirror of
https://github.com/EasyTier/EasyTier.git
synced 2024-11-15 19:22:30 +08:00
🐳 chore: eslint config and script
`eslint` 只忽略 `tauri` 文件目录 增加 `eslint` 自动修复命令
This commit is contained in:
parent
189a073f05
commit
6089813da5
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user