.eslintrc 802 B

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