.eslintrc.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "globals": {},
  3. "env": {
  4. "browser": true,
  5. "commonjs": true,
  6. "node": true,
  7. "es2020": true
  8. },
  9. "parser": "@typescript-eslint/parser",
  10. "parserOptions": { "ecmaVersion": "latest" },
  11. "plugins": [
  12. "@typescript-eslint"
  13. ],
  14. "extends": [
  15. "eslint:recommended",
  16. "plugin:import/errors",
  17. "plugin:import/warnings",
  18. "plugin:node/recommended",
  19. "plugin:promise/recommended",
  20. "plugin:@typescript-eslint/eslint-recommended",
  21. "plugin:@typescript-eslint/recommended",
  22. "airbnb-base"
  23. ],
  24. "ignorePatterns": [ "node_modules", "types" ],
  25. "rules": {
  26. "@typescript-eslint/no-explicit-any": "off",
  27. "@typescript-eslint/ban-types": "off",
  28. "@typescript-eslint/ban-ts-comment": "off",
  29. "@typescript-eslint/explicit-module-boundary-types": "off",
  30. "@typescript-eslint/no-var-requires": "off",
  31. "@typescript-eslint/no-empty-object-type": "off",
  32. "camelcase": "off",
  33. "class-methods-use-this": "off",
  34. "default-param-last": "off",
  35. "dot-notation": "off",
  36. "func-names": "off",
  37. "guard-for-in": "off",
  38. "import/extensions": "off",
  39. "import/no-extraneous-dependencies": "off",
  40. "import/no-named-as-default": "off",
  41. "import/no-unresolved": "off",
  42. "import/prefer-default-export": "off",
  43. "lines-between-class-members": "off",
  44. "max-len": [1, 275, 3],
  45. "newline-per-chained-call": "off",
  46. "no-async-promise-executor": "off",
  47. "no-await-in-loop": "off",
  48. "no-bitwise": "off",
  49. "no-case-declarations":"off",
  50. "no-continue": "off",
  51. "no-loop-func": "off",
  52. "no-mixed-operators": "off",
  53. "no-param-reassign":"off",
  54. "no-plusplus": "off",
  55. "no-regex-spaces": "off",
  56. "no-restricted-globals": "off",
  57. "no-restricted-syntax": "off",
  58. "no-return-assign": "off",
  59. "no-underscore-dangle": "off",
  60. "no-promise-executor-return": "off",
  61. "node/no-missing-import": ["error", { "tryExtensions": [".js", ".json", ".ts"] }],
  62. "node/no-unpublished-import": "off",
  63. "node/no-unpublished-require": "off",
  64. "node/no-unsupported-features/es-syntax": "off",
  65. "no-lonely-if": "off",
  66. "node/shebang": "off",
  67. "object-curly-newline": "off",
  68. "prefer-destructuring": "off",
  69. "prefer-template":"off",
  70. "promise/always-return": "off",
  71. "promise/catch-or-return": "off",
  72. "promise/no-nesting": "off",
  73. "radix": "off"
  74. }
  75. }