.eslintrc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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": 2021,
  12. "sourceType": "module",
  13. "requireConfigFile": false,
  14. "parser": "@typescript-eslint/parser"
  15. },
  16. "extends": [
  17. "airbnb-base",
  18. "plugin:vue/vue3-strongly-recommended",
  19. "eslint:recommended",
  20. "prettier",
  21. "plugin:@typescript-eslint/eslint-recommended",
  22. "plugin:@typescript-eslint/recommended"
  23. ],
  24. "plugins": [
  25. "prettier",
  26. "@typescript-eslint"
  27. ],
  28. "globals": {
  29. "grecaptcha": "readonly",
  30. "history": "readonly"
  31. },
  32. "rules": {
  33. "no-console": 0,
  34. "no-control-regex": 0,
  35. "no-var": 2,
  36. "no-underscore-dangle": 0,
  37. "radix": 0,
  38. "no-multi-assign": 0,
  39. "no-shadow": 0,
  40. "no-new": 0,
  41. "no-param-reassign": 0,
  42. "import/no-unresolved": 0,
  43. "import/extensions": 0,
  44. "import/prefer-default-export": 0,
  45. "import/no-extraneous-dependencies": [
  46. "error",
  47. {
  48. "devDependencies": true
  49. }
  50. ],
  51. "prettier/prettier": [
  52. "error"
  53. ],
  54. "vue/order-in-components": 2,
  55. "vue/no-v-for-template-key": 0,
  56. "vue/multi-word-component-names": 0,
  57. "@typescript-eslint/no-empty-function": 0,
  58. "@typescript-eslint/no-explicit-any": 0
  59. }
  60. }