From f277e3a86ad23a339b5e8e16622e4c253856231f Mon Sep 17 00:00:00 2001 From: stanislawK Date: Thu, 19 Oct 2023 00:10:14 +0200 Subject: [PATCH] linting fizxes --- frontend/vite.config.js | 18 ++++++++---------- frontend/vitest.config.js | 11 ++++++----- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 5c45e1d..0abd655 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -1,16 +1,14 @@ -import { fileURLToPath, URL } from 'node:url' +import { fileURLToPath, URL } from 'node:url'; -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' +import { defineConfig } from 'vite'; +import vue from '@vitejs/plugin-vue'; // https://vitejs.dev/config/ export default defineConfig({ - plugins: [ - vue(), - ], + plugins: [vue()], resolve: { alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) + '@': fileURLToPath(new URL('./src', import.meta.url)), + }, + }, +}); diff --git a/frontend/vitest.config.js b/frontend/vitest.config.js index fddc613..ed13a7c 100644 --- a/frontend/vitest.config.js +++ b/frontend/vitest.config.js @@ -1,6 +1,7 @@ -import { fileURLToPath } from 'node:url' -import { mergeConfig, defineConfig, configDefaults } from 'vitest/config' -import viteConfig from './vite.config' +import { fileURLToPath } from 'node:url'; +// eslint-disable-next-line +import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'; +import viteConfig from './vite.config'; export default mergeConfig( viteConfig, @@ -11,6 +12,6 @@ export default mergeConfig( exclude: [...configDefaults.exclude, 'e2e/*'], root: fileURLToPath(new URL('./', import.meta.url)), deps: { inline: ['vuetify'] }, - } + }, }) -) +);