.eslintrc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "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. "import/no-unresolved": 0,
  43. "import/extensions": 0,
  44. "prettier/prettier": [
  45. "error"
  46. ],
  47. "vue/order-in-components": 2,
  48. "vue/no-v-for-template-key": 0,
  49. "vue/multi-word-component-names": 0,
  50. "@typescript-eslint/no-empty-function": 0,
  51. "@typescript-eslint/no-explicit-any": 0
  52. }
  53. }