Files
vuejs-webpack-starter/.eslintrc.js
T
2020-02-13 17:07:35 +01:00

33 lines
674 B
JavaScript

module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true,
node: true,
mocha: true
},
"globals": {
"expect": true
},
extends: [
'plugin:vue/recommended',
'plugin:vue-a11y/base',
'standard'
],
plugins: [
'vue',
'vue-a11y'
],
rules: {
'generator-star-spacing': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/max-attributes-per-line': 'off',
'vue/no-v-html': 'off',
'vue-a11y/label-has-for': 'off'
}
}