.eslintrc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. "lofig": "writable",
  30. "grecaptcha": "readonly",
  31. "history": "readonly"
  32. },
  33. "rules": {
  34. "no-console": 0,
  35. "no-control-regex": 0,
  36. "no-var": 2,
  37. "no-underscore-dangle": 0,
  38. "radix": 0,
  39. "no-multi-assign": 0,
  40. "no-shadow": 0,
  41. "no-new": 0,
  42. "no-param-reassign": 0,
  43. "import/no-unresolved": 0,
  44. "import/extensions": 0,
  45. "import/prefer-default-export": 0,
  46. "import/no-extraneous-dependencies": [
  47. "error",
  48. {
  49. "devDependencies": true
  50. }
  51. ],
  52. "prettier/prettier": [
  53. "error"
  54. ],
  55. "vue/order-in-components": 2,
  56. "vue/no-v-for-template-key": 0,
  57. "vue/multi-word-component-names": 0,
  58. "@typescript-eslint/no-empty-function": 0,
  59. "@typescript-eslint/no-explicit-any": 0
  60. }
  61. }