.oxlintrc.json 601 B

12345678910111213141516171819
  1. {
  2. "$schema": "./node_modules/oxlint/configuration_schema.json",
  3. "plugins": ["typescript", "unicorn", "oxc", "react", "vitest"],
  4. "categories": {
  5. "correctness": "error",
  6. "suspicious": "warn"
  7. },
  8. "rules": {
  9. "react/rules-of-hooks": "error",
  10. "react/exhaustive-deps": "warn",
  11. "react/set-state-in-effect": "warn",
  12. "react/preserve-manual-memoization": "off",
  13. "react/react-in-jsx-scope": "off",
  14. "unicorn/no-array-sort": "off",
  15. "no-unused-vars": "warn",
  16. "no-control-regex": "off"
  17. },
  18. "ignorePatterns": ["out/**", "dist/**", "node_modules/**", "patches/**"]
  19. }