.eslintrc 980 B

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