mirror of
https://github.com/EasyTier/EasyTier.git
synced 2024-11-16 11:42:27 +08:00
🐳 chore: eslint
This commit is contained in:
parent
37f01f2898
commit
8b94b3cab0
4
easytier-gui/.prettierrc.json
Normal file
4
easytier-gui/.prettierrc.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"semi": false,
|
||||
"singleQuote": true
|
||||
}
|
|
@ -1,7 +1,15 @@
|
|||
// @ts-check
|
||||
import antfu from "@antfu/eslint-config";
|
||||
import antfu from '@antfu/eslint-config'
|
||||
|
||||
export default antfu({
|
||||
unocss: true,
|
||||
formatters: true,
|
||||
});
|
||||
ignores: [
|
||||
'dist',
|
||||
'node_modules',
|
||||
'src-tauri',
|
||||
'src/vite-env.d.ts',
|
||||
'src/typed-router.d.ts',
|
||||
'src/auto-imports.d.ts',
|
||||
'src/components.d.ts',
|
||||
],
|
||||
})
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{
|
||||
"name": "easytier-gui",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"preview": "vite preview",
|
||||
"tauri": "tauri"
|
||||
"tauri": "tauri",
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^1",
|
||||
|
@ -26,8 +27,10 @@
|
|||
"@types/node": "^20.12.8",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@vitejs/plugin-vue": "^5.0.4",
|
||||
"eslint": "^9.2.0",
|
||||
"@vue-macros/volar": "^0.19.0",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"eslint": "^9.2.0",
|
||||
"eslint-plugin-format": "^0.1.1",
|
||||
"naive-ui": "^2.38.2",
|
||||
"postcss": "^8.4.38",
|
||||
"tailwindcss": "^3.4.3",
|
||||
|
@ -42,6 +45,7 @@
|
|||
"vite": "^5.2.11",
|
||||
"vite-plugin-vue-devtools": "^7.1.3",
|
||||
"vite-plugin-vue-layouts": "^0.11.0",
|
||||
"prettier": "^3.2.5",
|
||||
"vue-i18n": "^9.13.1",
|
||||
"vue-tsc": "^2.0.16"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user