{
  "extends": ["../.oxlintrc.json"],
  "plugins": ["oxc", "eslint", "typescript", "react"],
  "overrides": [
    {
      "files": ["**/*.{jsx,tsx}"],
      "rules": {
        "no-restricted-globals": [
          "error",
          {
            "name": "crypto",
            "message": "Do not use, does not work in environments without SSL."
          }
        ],
        "no-restricted-imports": [
          "error",
          {
            "patterns": [
              {
                "group": ["mime-types"],
                "message": "Do not use the mime-types package in the browser."
              }
            ]
          }
        ]
      },
      "plugins": ["import"]
    }
  ],
  "env": {
    "jest": true,
    "browser": true
  }
}
