1 require('@rushstack/eslint-patch/modern-module-resolution')
2 const { env } = require('node:process')
3 const { defineConfig } = require('eslint-define-config')
5 module.exports = defineConfig({
16 'plugin:import/recommended',
17 'plugin:vue/vue3-recommended',
18 '@vue/eslint-config-typescript/recommended',
19 '@vue/eslint-config-prettier'
25 project: './tsconfig.json'
35 'no-console': env.NODE_ENV === 'production' ? 'warn' : 'off',
36 'no-debugger': env.NODE_ENV === 'production' ? 'warn' : 'off',
37 'vue/require-v-for-key': 'off',
38 'vue/multi-word-component-names': 'off',
42 ignoreDeclarationSort: true
45 'import/order': 'error'