.eslintrc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. "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. "no-param-reassign": 0,
  41. "import/no-unresolved": 0,
  42. "import/extensions": 0,
  43. "import/prefer-default-export": 0,
  44. "import/no-extraneous-dependencies": [
  45. "error",
  46. {
  47. "devDependencies": true
  48. }
  49. ],
  50. "prettier/prettier": [
  51. "error"
  52. ],
  53. "vue/order-in-components": 2,
  54. "vue/no-v-for-template-key": 0,
  55. "vue/multi-word-component-names": 0,
  56. "@typescript-eslint/no-empty-function": 0,
  57. "@typescript-eslint/no-explicit-any": 0
  58. }
  59. }