.eslintrc.js 674 B

1234567891011121314151617181920212223242526272829303132
  1. module.exports = {
  2. root: true,
  3. parserOptions: {
  4. parser: 'babel-eslint'
  5. },
  6. env: {
  7. browser: true,
  8. node: true,
  9. mocha: true
  10. },
  11. "globals": {
  12. "expect": true
  13. },
  14. extends: [
  15. 'plugin:vue/recommended',
  16. 'plugin:vue-a11y/base',
  17. 'standard'
  18. ],
  19. plugins: [
  20. 'vue',
  21. 'vue-a11y'
  22. ],
  23. rules: {
  24. 'generator-star-spacing': 'off',
  25. 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  26. 'vue/singleline-html-element-content-newline': 'off',
  27. 'vue/multiline-html-element-content-newline': 'off',
  28. 'vue/max-attributes-per-line': 'off',
  29. 'vue/no-v-html': 'off',
  30. 'vue-a11y/label-has-for': 'off'
  31. }
  32. }