26 lines
615 B
JavaScript
26 lines
615 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'plugin:vue/vue3-recommended',
|
|
'eslint:recommended',
|
|
'@vue/typescript/recommended',
|
|
'prettier',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 2021,
|
|
parser: '@typescript-eslint/parser',
|
|
},
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
};
|