.eslintrc 767 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true,
  5. "node": true
  6. },
  7. "plugins": [
  8. "vue"
  9. ],
  10. "extends": [
  11. "eslint:recommended",
  12. "plugin:vue/recommended"
  13. ],
  14. "parserOptions": {
  15. "sourceType": "module",
  16. "ecmaVersion": 8
  17. },
  18. "rules": {
  19. "indent": [
  20. "error",
  21. 2
  22. ],
  23. "no-console": 0,
  24. "linebreak-style": [
  25. "error",
  26. "unix"
  27. ],
  28. "quotes": [
  29. "error",
  30. "double"
  31. ],
  32. "semi": [
  33. "error",
  34. "always"
  35. ],
  36. "vue/require-v-for-key": "off"
  37. },
  38. "overrides": [
  39. {
  40. "files": ["*.vue", "**/*.vue"]
  41. }
  42. ]
  43. }