2018-12-04 07:08:40 +00:00
|
|
|
module.exports = {
|
2020-09-17 12:11:27 +00:00
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
'extends': [
|
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
'eslint:recommended'
|
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
parser: 'babel-eslint'
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
|
2022-02-09 06:28:25 +00:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"**/__tests__/*.{j,t}s?(x)",
|
|
|
|
"**/tests/unit/**/*.spec.{j,t}s?(x)"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"jest": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2020-09-17 12:11:27 +00:00
|
|
|
}
|