build(ui): switch to vite
[e-mobility-charging-stations-simulator.git] / ui / web / .eslintrc.js
1 const { defineConfig } = require('eslint-define-config');
2
3 module.exports = defineConfig({
4 root: true,
5
6 env: {
7 node: true,
8 },
9
10 extends: [
11 'eslint:recommended',
12 'plugin:vue/vue3-recommended',
13 '@vue/eslint-config-typescript/recommended',
14 '@vue/eslint-config-prettier',
15 ],
16
17 parserOptions: {
18 ecmaVersion: 'latest',
19 ecmaFeatures: {
20 jsx: true,
21 },
22 },
23
24 rules: {
25 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
26 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
27 'vue/require-v-for-key': 'off',
28 'vue/multi-word-component-names': 'off',
29 },
30 });