eslint --fix

This commit is contained in:
Oscar
2026-06-08 15:09:53 +03:00
parent 10d696f4ca
commit b98387ea58
64 changed files with 6070 additions and 2467 deletions

View File

@@ -1,16 +1,16 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import tailwindcss from "@tailwindcss/vite";
import { resolve } from "path";
import { resolve } from 'node:path'
import tailwindcss from '@tailwindcss/vite'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
const host = process.env.TAURI_DEV_HOST;
const host = process.env.TAURI_DEV_HOST
export default defineConfig(async () => ({
plugins: [vue(), tailwindcss()],
resolve: {
alias: {
"@": resolve(__dirname, "./src"),
'@': resolve(__dirname, './src'),
},
},
@@ -21,9 +21,9 @@ export default defineConfig(async () => ({
additionalData: (source: string, filePath: string) => {
// Skip the variables file itself and the main style files to avoid circular deps
if (filePath.includes('_variables') || filePath.includes('styles/main') || filePath.includes('styles/tailwind')) {
return source;
return source
}
return `@use "@/styles/_variables.scss" as *;\n${source}`;
return `@use "@/styles/_variables.scss" as *;\n${source}`
},
},
},
@@ -37,13 +37,13 @@ export default defineConfig(async () => ({
host: host || false,
hmr: host
? {
protocol: "ws",
protocol: 'ws',
host,
port: 1421,
}
: undefined,
watch: {
ignored: ["**/src-tauri/**"],
ignored: ['**/src-tauri/**'],
},
},
}));
}))