.eslintrc 712 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. },
  14. "extends": [
  15. "airbnb-base",
  16. "plugin:vue/strongly-recommended",
  17. "eslint:recommended",
  18. "prettier"
  19. ],
  20. "plugins": [
  21. "prettier"
  22. ],
  23. "globals": {
  24. "lofig": "writable",
  25. "grecaptcha": "readonly",
  26. "history": "readonly"
  27. },
  28. "rules": {
  29. "no-console": 0,
  30. "no-control-regex": 0,
  31. "no-var": 2,
  32. "no-underscore-dangle": 0,
  33. "radix": 0,
  34. "no-multi-assign": 0,
  35. "no-shadow": 0,
  36. "no-new": 0,
  37. "import/no-unresolved": 0,
  38. "prettier/prettier": [
  39. "error"
  40. ],
  41. "vue/order-in-components": 2
  42. }
  43. }