.eslintrc.json 733 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "env": {
  3. "browser": true,
  4. "es2021": true,
  5. "node": true
  6. },
  7. "extends": [
  8. "eslint:recommended",
  9. "plugin:vue/vue3-recommended"
  10. ],
  11. "parserOptions": {
  12. "ecmaVersion": 2021,
  13. "sourceType": "module"
  14. },
  15. "plugins": [
  16. "vue"
  17. ],
  18. "rules": {
  19. "no-console": "off",
  20. "no-unused-vars": "warn",
  21. "vue/no-unused-components": "warn",
  22. "semi": [2, "never"],
  23. "semi-spacing": [2, {
  24. "before": false,
  25. "after": true
  26. }],
  27. "quotes": [2, "single", {
  28. "avoidEscape": true,
  29. "allowTemplateLiterals": true
  30. }],
  31. "array-bracket-spacing": ["error", "always"],
  32. "computed-property-spacing": ["error", "never"],
  33. "object-curly-spacing": ["error", "always"]
  34. }
  35. }