1 const { env
} = require('node:process');
2 const { defineConfig
} = require('eslint-define-config');
4 module
.exports
= defineConfig({
15 'plugin:import/recommended',
16 'plugin:vue/vue3-recommended',
17 '@vue/eslint-config-prettier',
18 '@vue/eslint-config-typescript/recommended',
24 project
: './tsconfig.json',
30 ecmaVersion
: 'latest',
34 'no-console': env
.NODE_ENV
=== 'production' ? 'warn' : 'off',
35 'no-debugger': env
.NODE_ENV
=== 'production' ? 'warn' : 'off',
36 'vue/require-v-for-key': 'off',
37 'vue/multi-word-component-names': 'off',
41 ignoreDeclarationSort
: true,
44 'import/order': 'error',