Skip to content

Commit

Permalink
linting fizxes
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislawK committed Oct 18, 2023
1 parent f780403 commit f277e3a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
18 changes: 8 additions & 10 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
@@ -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)),
},
},
});
11 changes: 6 additions & 5 deletions frontend/vitest.config.js
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -11,6 +12,6 @@ export default mergeConfig(
exclude: [...configDefaults.exclude, 'e2e/*'],
root: fileURLToPath(new URL('./', import.meta.url)),
deps: { inline: ['vuetify'] },
}
},
})
)
);

0 comments on commit f277e3a

Please sign in to comment.