2019-02-23 08:51:52 +01:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'plugin:vue/essential',
|
|
|
|
'@vue/airbnb',
|
|
|
|
],
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
2019-03-23 14:49:11 +01:00
|
|
|
'vue/script-indent': ['error', 2, { baseIndent: 1 }],
|
|
|
|
'max-len': 'off',
|
2019-02-23 08:51:52 +01:00
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
parser: 'babel-eslint',
|
|
|
|
},
|
2019-03-23 14:49:11 +01:00
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ['*.vue'],
|
|
|
|
rules: {
|
|
|
|
indent: 'off',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2019-02-23 08:51:52 +01:00
|
|
|
};
|