.eslintrc 713 B

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