marc-leopold/.eslintrc.js

26 lines
553 B
JavaScript
Raw Normal View History

2019-01-02 21:11:40 +00:00
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: 'babel-eslint'
},
extends: [
'plugin:vue/recommended'
],
// required to lint *.vue files
plugins: [
'vue'
],
// add your custom rules here
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/html-self-closing': 'off',
2019-01-03 14:48:48 +00:00
'vue/attributes-order': 'off',
2019-01-02 21:11:40 +00:00
'vue/max-attributes-per-line': 'off'
}
}