You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "plugins": [
  3. "unicorn",
  4. "typescript",
  5. "oxc"
  6. ],
  7. "categories": {},
  8. "rules": {
  9. "for-direction": "error",
  10. "no-async-promise-executor": "error",
  11. "no-caller": "error",
  12. "no-class-assign": "error",
  13. "no-compare-neg-zero": "error",
  14. "no-cond-assign": "warn",
  15. "no-const-assign": "warn",
  16. "no-constant-binary-expression": "error",
  17. "no-constant-condition": "warn",
  18. "no-control-regex": "warn",
  19. "no-debugger": "warn",
  20. "no-delete-var": "warn",
  21. "no-dupe-class-members": "warn",
  22. "no-dupe-else-if": "warn",
  23. "no-dupe-keys": "warn",
  24. "no-duplicate-case": "warn",
  25. "no-empty-character-class": "warn",
  26. "no-empty-pattern": "warn",
  27. "no-empty-static-block": "warn",
  28. "no-eval": "warn",
  29. "no-ex-assign": "warn",
  30. "no-extra-boolean-cast": "warn",
  31. "no-func-assign": "warn",
  32. "no-global-assign": "warn",
  33. "no-import-assign": "warn",
  34. "no-invalid-regexp": "warn",
  35. "no-irregular-whitespace": "warn",
  36. "no-loss-of-precision": "warn",
  37. "no-new-native-nonconstructor": "warn",
  38. "no-nonoctal-decimal-escape": "warn",
  39. "no-obj-calls": "warn",
  40. "no-self-assign": "warn",
  41. "no-setter-return": "warn",
  42. "no-shadow-restricted-names": "warn",
  43. "no-sparse-arrays": "warn",
  44. "no-this-before-super": "warn",
  45. "no-unassigned-vars": "warn",
  46. "no-unsafe-finally": "warn",
  47. "no-unsafe-negation": "warn",
  48. "no-unsafe-optional-chaining": "error",
  49. "no-unused-labels": "warn",
  50. "no-unused-private-class-members": "warn",
  51. "no-unused-vars": "warn",
  52. "no-useless-backreference": "warn",
  53. "no-useless-catch": "error",
  54. "no-useless-escape": "warn",
  55. "no-useless-rename": "warn",
  56. "no-with": "warn",
  57. "require-yield": "warn",
  58. "use-isnan": "warn",
  59. "valid-typeof": "warn",
  60. "oxc/bad-array-method-on-arguments": "warn",
  61. "oxc/bad-char-at-comparison": "warn",
  62. "oxc/bad-comparison-sequence": "warn",
  63. "oxc/bad-min-max-func": "warn",
  64. "oxc/bad-object-literal-comparison": "warn",
  65. "oxc/bad-replace-all-arg": "warn",
  66. "oxc/const-comparisons": "warn",
  67. "oxc/double-comparisons": "warn",
  68. "oxc/erasing-op": "warn",
  69. "oxc/missing-throw": "warn",
  70. "oxc/number-arg-out-of-range": "warn",
  71. "oxc/only-used-in-recursion": "warn",
  72. "oxc/uninvoked-array-callback": "warn",
  73. "typescript/await-thenable": "warn",
  74. "typescript/no-array-delete": "warn",
  75. "typescript/no-base-to-string": "warn",
  76. "typescript/no-confusing-void-expression": "warn",
  77. "typescript/no-duplicate-enum-values": "warn",
  78. "typescript/no-duplicate-type-constituents": "warn",
  79. "typescript/no-extra-non-null-assertion": "warn",
  80. "typescript/no-floating-promises": "warn",
  81. "typescript/no-for-in-array": "warn",
  82. "typescript/no-implied-eval": "warn",
  83. "typescript/no-meaningless-void-operator": "warn",
  84. "typescript/no-misused-new": "warn",
  85. "typescript/no-misused-spread": "warn",
  86. "typescript/no-non-null-asserted-optional-chain": "warn",
  87. "typescript/no-redundant-type-constituents": "warn",
  88. "typescript/no-this-alias": "warn",
  89. "typescript/no-unnecessary-parameter-property-assignment": "warn",
  90. "typescript/no-unsafe-declaration-merging": "warn",
  91. "typescript/no-unsafe-unary-minus": "warn",
  92. "typescript/no-useless-empty-export": "warn",
  93. "typescript/no-wrapper-object-types": "warn",
  94. "typescript/prefer-as-const": "warn",
  95. "typescript/require-array-sort-compare": "warn",
  96. "typescript/restrict-template-expressions": "warn",
  97. "typescript/triple-slash-reference": "warn",
  98. "typescript/unbound-method": "warn",
  99. "unicorn/no-await-in-promise-methods": "warn",
  100. "unicorn/no-empty-file": "warn",
  101. "unicorn/no-invalid-fetch-options": "warn",
  102. "unicorn/no-invalid-remove-event-listener": "warn",
  103. "unicorn/no-new-array": "warn",
  104. "unicorn/no-single-promise-in-promise-methods": "warn",
  105. "unicorn/no-thenable": "warn",
  106. "unicorn/no-unnecessary-await": "warn",
  107. "unicorn/no-useless-fallback-in-spread": "warn",
  108. "unicorn/no-useless-length-check": "warn",
  109. "unicorn/no-useless-spread": "warn",
  110. "unicorn/prefer-set-size": "warn",
  111. "unicorn/prefer-string-starts-ends-with": "warn"
  112. },
  113. "settings": {
  114. "jsx-a11y": {
  115. "polymorphicPropName": null,
  116. "components": {},
  117. "attributes": {}
  118. },
  119. "next": {
  120. "rootDir": []
  121. },
  122. "react": {
  123. "formComponents": [],
  124. "linkComponents": []
  125. },
  126. "jsdoc": {
  127. "ignorePrivate": false,
  128. "ignoreInternal": false,
  129. "ignoreReplacesDocs": true,
  130. "overrideReplacesDocs": true,
  131. "augmentsExtendsReplacesDocs": false,
  132. "implementsReplacesDocs": false,
  133. "exemptDestructuredRootsFromChecks": false,
  134. "tagNamePreference": {}
  135. }
  136. },
  137. "env": {
  138. "builtin": true
  139. },
  140. "globals": {},
  141. "ignorePatterns": [
  142. "**/*.js"
  143. ]
  144. }