2021-05-31 16:14:28 +02:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
'extends': [
|
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
'eslint:recommended'
|
|
|
|
],
|
|
|
|
parserOptions: {
|
2024-02-20 21:01:15 +01:00
|
|
|
parser: '@babel/eslint-parser'
|
2021-05-31 16:14:28 +02:00
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
|
|
|
|
}
|
|
|
|
}
|