2017-08-09 15:15:42 +02:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
2020-06-14 20:52:30 +02:00
|
|
|
node: true,
|
|
|
|
jest: true
|
2017-08-09 15:15:42 +02:00
|
|
|
},
|
2019-03-20 23:19:13 +01:00
|
|
|
'extends': [
|
|
|
|
'plugin:vue/recommended',
|
|
|
|
'@vue/standard'
|
|
|
|
],
|
2017-08-26 12:40:00 +02:00
|
|
|
globals: {
|
|
|
|
FB: true
|
|
|
|
},
|
2019-03-20 23:19:13 +01:00
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'vue/script-indent': 'off',
|
|
|
|
'vue/html-indent': 'off',
|
|
|
|
'vue/max-attributes-per-line': [2, {
|
|
|
|
'singleline': 2,
|
|
|
|
'multiline': {
|
|
|
|
'max': 1,
|
|
|
|
'allowFirstLine': true
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
'indent': 'off',
|
|
|
|
'arrow-parens': 'off',
|
|
|
|
'generator-star-spacing': 'off'
|
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
parser: 'babel-eslint'
|
2017-08-09 15:15:42 +02:00
|
|
|
}
|
|
|
|
}
|