2021-10-24 10:53:47 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
extends: [
|
2021-10-25 14:19:49 +00:00
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
'eslint:recommended',
|
|
|
|
'@vue/typescript/recommended',
|
|
|
|
'@vue/prettier',
|
|
|
|
'@vue/prettier/@typescript-eslint',
|
2021-10-24 10:53:47 +00:00
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2020,
|
|
|
|
},
|
|
|
|
rules: {
|
2021-10-25 14:19:49 +00:00
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
2021-10-24 10:53:47 +00:00
|
|
|
},
|
|
|
|
};
|