.eslintrc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. "plugin:vue/vue3-strongly-recommended",
  18. "eslint:recommended",
  19. "prettier",
  20. "plugin:@typescript-eslint/eslint-recommended",
  21. "plugin:@typescript-eslint/recommended"
  22. ],
  23. "plugins": [
  24. "prettier",
  25. "@typescript-eslint"
  26. ],
  27. "globals": {
  28. "lofig": "writable",
  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. "import/no-unresolved": 0,
  42. "import/extensions": 0,
  43. "prettier/prettier": [
  44. "error"
  45. ],
  46. "vue/order-in-components": 2,
  47. "vue/no-v-for-template-key": 0,
  48. "vue/multi-word-component-names": 0,
  49. "@typescript-eslint/no-empty-function": 0,
  50. "@typescript-eslint/no-explicit-any": 0
  51. }
  52. }