.eslintrc 742 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. "prettier/prettier": [
  40. "error"
  41. ],
  42. "vue/order-in-components": 2
  43. }
  44. }