.eslintrc.js 452 B

123456789101112131415161718192021222324252627
  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. }
  27. }