eslint.config.js 479 B

1234567891011121314151617
  1. import { config as reactConfig } from "@internal/eslint-config/react-internal";
  2. /** @type {import("eslint").Linter.Config[]} */
  3. export default [
  4. ...reactConfig,
  5. {
  6. rules: {
  7. // Disable prop-types - we use TypeScript for type checking
  8. "react/prop-types": "off",
  9. // Allow underscore-prefixed unused variables
  10. "@typescript-eslint/no-unused-vars": [
  11. "warn",
  12. { argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
  13. ],
  14. },
  15. },
  16. ];