.eslintrc.js 752 B

12345678910111213141516171819202122232425262728293031323334353637
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. 'extends': [
  7. 'plugin:vue/strongly-recommended'
  8. ],
  9. rules: {
  10. 'import/newline-after-import': 'off',
  11. 'no-param-reassign': 'off',
  12. 'space-before-function-paren': 'off',
  13. 'object-curly-spacing': 'off',
  14. 'block-spacing': 'off',
  15. 'dot-notation': 'off',
  16. 'arrow-parens': 'off',
  17. 'space-before-blocks': 'off',
  18. 'no-confusing-arrow': 'off',
  19. 'arrow-body-style': 'off',
  20. "vue/no-unused-components": "off",
  21. semi: 'off'
  22. },
  23. parserOptions: {
  24. parser: 'babel-eslint'
  25. },
  26. overrides: [
  27. {
  28. files: [
  29. '**/__tests__/*.{j,t}s?(x)',
  30. '**/tests/unit/**/*.spec.{j,t}s?(x)'
  31. ],
  32. env: {
  33. jest: true
  34. }
  35. }
  36. ]
  37. }