eslint.config.js 666 B

12345678910111213141516171819202122232425262728293031
  1. import { nextJsConfig } from "@repo/eslint-config/next-js";
  2. /** @type {import("eslint").Linter.Config[]} */
  3. export default [
  4. ...nextJsConfig,
  5. {
  6. rules: {
  7. "react/prop-types": "off",
  8. "react/no-unknown-property": [
  9. "error",
  10. {
  11. ignore: [
  12. "jsx",
  13. // React Three Fiber properties
  14. "args",
  15. "position",
  16. "rotation",
  17. "intensity",
  18. "distance",
  19. "metalness",
  20. "roughness",
  21. "emissive",
  22. "emissiveIntensity",
  23. "wireframe",
  24. "transparent",
  25. ],
  26. },
  27. ],
  28. },
  29. },
  30. ];