.oxlintrc.json

 1{
 2  "$schema": "./node_modules/oxlint/configuration_schema.json",
 3  "plugins": ["typescript", "react", "import", "unicorn"],
 4  "categories": {
 5    "correctness": "error",
 6    "suspicious": "warn"
 7  },
 8  "rules": {
 9    "typescript/no-floating-promises": "error",
10    "typescript/no-misused-promises": "error",
11    "typescript/no-unsafe-assignment": "warn",
12    "typescript/no-unsafe-call": "warn",
13    "typescript/no-unsafe-member-access": "warn",
14    "typescript/no-unsafe-return": "warn",
15    "typescript/await-thenable": "error",
16    "typescript/no-unnecessary-type-assertion": "warn",
17    "react/react-in-jsx-scope": "off"
18  },
19  "options": {
20    "typeAware": true,
21    "typeCheck": true
22  },
23  "ignorePatterns": ["src/__generated__/**", "src/routeTree.gen.ts"]
24}