diff --git a/.prettierignore b/.prettierignore index 70435f5..2e9162f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,3 @@ -backend/ \ No newline at end of file +backend/ +frontend/aashub/components.d.ts +frontend/aashub/vite.config.mts \ No newline at end of file diff --git a/frontend/aashub/components.d.ts b/frontend/aashub/components.d.ts index fd5c9cc..230e982 100644 --- a/frontend/aashub/components.d.ts +++ b/frontend/aashub/components.d.ts @@ -2,7 +2,7 @@ // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 -export {}; +export {} /* prettier-ignore */ declare module 'vue' { diff --git a/frontend/aashub/vite.config.mts b/frontend/aashub/vite.config.mts index 91c4dba..f92bae9 100644 --- a/frontend/aashub/vite.config.mts +++ b/frontend/aashub/vite.config.mts @@ -1,13 +1,13 @@ // Plugins -import Components from 'unplugin-vue-components/vite' -import Vue from '@vitejs/plugin-vue' +import Components from 'unplugin-vue-components/vite'; +import Vue from '@vitejs/plugin-vue'; import eslintPlugin from 'vite-plugin-eslint'; -import Vuetify, { transformAssetUrls } from 'vite-plugin-vuetify' -import ViteFonts from 'unplugin-fonts/vite' +import Vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'; +import ViteFonts from 'unplugin-fonts/vite'; // Utilities -import { defineConfig } from 'vite' -import { fileURLToPath, URL } from 'node:url' +import { defineConfig } from 'vite'; +import { fileURLToPath, URL } from 'node:url'; // https://vitejs.dev/config/ export default defineConfig({ @@ -17,17 +17,19 @@ export default defineConfig({ }), eslintPlugin({ // Optional: specify the path to the ESLint configuration file - include: ['./src/**/*.js', './src/**/*.vue', './src/**/*.ts'] // Adjust according to your project structure + include: ['./src/**/*.js', './src/**/*.vue', './src/**/*.ts'], // Adjust according to your project structure }), // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme Vuetify(), Components(), ViteFonts({ google: { - families: [{ - name: 'Roboto', - styles: 'wght@100;300;400;500;700;900', - }], + families: [ + { + name: 'Roboto', + styles: 'wght@100;300;400;500;700;900', + }, + ], }, }), ], @@ -36,26 +38,18 @@ export default defineConfig({ alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), }, - extensions: [ - '.js', - '.json', - '.jsx', - '.mjs', - '.ts', - '.tsx', - '.vue', - ], + extensions: ['.js', '.json', '.jsx', '.mjs', '.ts', '.tsx', '.vue'], }, server: { host: '0.0.0.0', port: 3000, watch: { - usePolling: true + usePolling: true, }, hmr: { host: 'host.docker.internal', // Ensures HMR tries to connect to localhost port: 3000, - protocol: 'ws' - } - } -}) + protocol: 'ws', + }, + }, +});