🐳 chore: eslint

This commit is contained in:
m1m1sha 2024-05-06 10:49:53 +08:00
parent e6408f2582
commit 6f75dd72b9
3 changed files with 23 additions and 7 deletions

View File

@ -0,0 +1,4 @@
{
"semi": false,
"singleQuote": true
}

View File

@ -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',
],
})

View File

@ -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"
}