2019-03-08 22:17:59 +00:00
|
|
|
module.exports = {
|
2019-03-11 21:10:12 +00:00
|
|
|
'env': {
|
|
|
|
'es6': true,
|
|
|
|
'node': true
|
2019-03-08 22:17:59 +00:00
|
|
|
},
|
|
|
|
'extends': [
|
2019-03-11 21:10:12 +00:00
|
|
|
'standard',
|
|
|
|
'plugin:vue/essential'
|
2019-03-08 22:17:59 +00:00
|
|
|
],
|
2019-03-11 21:10:12 +00:00
|
|
|
'globals': {
|
|
|
|
'Atomics': 'readonly',
|
|
|
|
'SharedArrayBuffer': 'readonly'
|
2019-03-08 22:17:59 +00:00
|
|
|
},
|
2019-03-11 21:10:12 +00:00
|
|
|
'parserOptions': {
|
|
|
|
'ecmaVersion': 2018,
|
|
|
|
},
|
|
|
|
'plugins': [
|
|
|
|
'vue'
|
|
|
|
],
|
|
|
|
'rules': {
|
|
|
|
'no-console': 'off',
|
|
|
|
'no-debugger': 'off',
|
|
|
|
'vue/html-end-tags': 'error',
|
|
|
|
'vue/html-indent': [
|
|
|
|
'error',
|
|
|
|
2
|
|
|
|
],
|
|
|
|
'vue/require-prop-types': 'error',
|
|
|
|
'vue/attributes-order': 'error',
|
|
|
|
'vue/attribute-hyphenation': [
|
|
|
|
'error',
|
|
|
|
'always'
|
|
|
|
],
|
|
|
|
'vue/html-quotes': [
|
|
|
|
'error',
|
|
|
|
'double'
|
|
|
|
]
|
|
|
|
|
2019-03-08 22:17:59 +00:00
|
|
|
}
|
|
|
|
}
|