.eslintrc 902 B

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