2020-06-06 18:03:55 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'plugin:vue/essential',
|
|
|
|
'@vue/airbnb',
|
|
|
|
],
|
|
|
|
parserOptions: {
|
2023-11-11 10:26:42 +00:00
|
|
|
parser: '@babel/eslint-parser',
|
2020-06-06 18:03:55 +00:00
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
},
|
|
|
|
};
|