{
  "$schema": "https://raw.githubusercontent.com/nicolo-ribaudo/oxc-configuration-schema/refs/heads/main/schema.json",
  "categories": {
    "correctness": "error",
    "nursery": "error",
    "pedantic": "error",
    "perf": "error",
    "restriction": "error",
    "style": "error",
    "suspicious": "error"
  },
  "plugins": [
    "eslint",
    "import",
    "jest",
    "jsdoc",
    "jsx-a11y",
    "nextjs",
    "node",
    "oxc",
    "promise",
    "react",
    "react-perf",
    "typescript",
    "unicorn",
    "vitest"
  ],
  "rules": {
    "capitalized-comments": "off",
    "curly": "off",
    "id-length": "off",
    "import/group-exports": "off",
    "import/max-dependencies": "off",
    "import/no-default-export": "off",
    "import/no-named-export": "off",
    "import/no-unassigned-import": "off",
    "import/no-nodejs-modules": "off",
    "import/no-relative-parent-imports": "off",
    "import/prefer-default-export": "off",
    "import/unambiguous": "off",
    "init-declarations": "off",
    "jest/expect-expect": ["error", { "assertFunctionNames": ["expect", "expectOk", "expectErr", "ok", "err"] }],
    "jest/max-expects": "off",
    "jest/no-conditional-in-test": "off",
    "vitest/no-conditional-in-test": "off",
    "vitest/no-conditional-tests": "off",
    "jest/no-hooks": "off",
    "jest/prefer-ending-with-an-expect": "off",
    "jest/prefer-each": "off",
    "jest/prefer-importing-jest-globals": "off",
    "jest/require-hook": "off",
    "jest/require-top-level-describe": "off",
    "jest/valid-title": "off",
    "jsdoc/require-param": "off",
    "jsdoc/require-param-type": "off",
    "jsdoc/require-returns": "off",
    "jsdoc/require-returns-type": "off",
    "max-lines": "off",
    "max-lines-per-function": "off",
    "max-statements": "off",
    "new-cap": "off",
    "no-console": "off",
    "no-continue": "off",
    "no-duplicate-imports": "off",
    "no-magic-numbers": "off",
    "no-nested-ternary": "off",
    "prefer-destructuring": "off",
    "no-ternary": "off",
    "no-undef": "off",
    "no-undefined": "off",
    "node/callback-return": "off",
    "node/no-process-env": "off",
    "oxc/no-async-await": "off",
    "promise/avoid-new": "off",
    "oxc/no-optional-chaining": "off",
    "oxc/no-rest-spread-properties": "off",
    "react-perf/jsx-no-new-function-as-prop": "off",
    "react/forbid-component-props": "off",
    "react/jsx-filename-extension": [
      "error",
      {
        "extensions": [".tsx"]
      }
    ],
    "react/jsx-max-depth": "off",
    "react/jsx-props-no-spreading": "off",
    "react/no-multi-comp": "off",
    "react/only-export-components": "off",
    "react/react-in-jsx-scope": "off",
    "require-await": "off",
    "sort-imports": "off",
    "sort-vars": "off",
    "typescript/explicit-function-return-type": "off",
    "typescript/explicit-module-boundary-types": "off",
    "unicorn/filename-case": [
      "error",
      {
        "case": "kebabCase"
      }
    ],
    "unicorn/import-style": [
      "error",
      {
        "styles": {
          "node:assert": false,
          "node:async_hooks": false,
          "node:buffer": false,
          "node:child_process": false,
          "node:cluster": false,
          "node:console": false,
          "node:crypto": false,
          "node:dgram": false,
          "node:diagnostics_channel": false,
          "node:dns": false,
          "node:domain": false,
          "node:events": false,
          "node:fs": false,
          "node:fs/promises": false,
          "node:http": false,
          "node:http2": false,
          "node:https": false,
          "node:inspector": false,
          "node:module": false,
          "node:net": false,
          "node:os": false,
          "node:path": false,
          "node:perf_hooks": false,
          "node:process": false,
          "node:punycode": false,
          "node:querystring": false,
          "node:readline": false,
          "node:repl": false,
          "node:stream": false,
          "node:stream/promises": false,
          "node:string_decoder": false,
          "node:timers": false,
          "node:timers/promises": false,
          "node:tls": false,
          "node:tty": false,
          "node:url": false,
          "node:util": false,
          "node:v8": false,
          "node:vm": false,
          "node:worker_threads": false,
          "node:zlib": false
        }
      }
    ],
    "unicorn/no-array-callback-reference": "off",
    "unicorn/no-useless-undefined": "off",
    "unicorn/no-nested-ternary": "off",
    "unicorn/no-await-expression-member": "off",
    "unicorn/no-null": "off",
    "unicorn/prefer-global-this": "off",
    "unicorn/switch-case-braces": ["error", "avoid"],
    "vitest/prefer-importing-vitest-globals": "off",
    "vitest/prefer-strict-boolean-matchers": "off",
    "vitest/require-hook": "off",
    "vitest/require-test-timeout": "off"
  }
}
