.eslintrc 873 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "root": true,
  3. "env": {
  4. "browser": true,
  5. "amd": true,
  6. "node": true,
  7. "es6": true
  8. },
  9. "parser": "vue-eslint-parser",
  10. "parserOptions": {
  11. "ecmaVersion": 2018,
  12. "sourceType": "module",
  13. "requireConfigFile": false,
  14. "parser": "@babel/eslint-parser"
  15. },
  16. "extends": [
  17. "airbnb-base",
  18. "plugin:vue/strongly-recommended",
  19. "eslint:recommended",
  20. "prettier"
  21. ],
  22. "plugins": [
  23. "prettier"
  24. ],
  25. "globals": {
  26. "lofig": "writable",
  27. "grecaptcha": "readonly",
  28. "history": "readonly"
  29. },
  30. "rules": {
  31. "no-console": 0,
  32. "no-control-regex": 0,
  33. "no-var": 2,
  34. "no-underscore-dangle": 0,
  35. "radix": 0,
  36. "no-multi-assign": 0,
  37. "no-shadow": 0,
  38. "no-new": 0,
  39. "import/no-unresolved": 0,
  40. "import/extensions": 0,
  41. "prettier/prettier": [
  42. "error"
  43. ],
  44. "vue/order-in-components": 2,
  45. "vue/no-v-for-template-key": 0,
  46. "vue/multi-word-component-names": 0
  47. }
  48. }