|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/oxlint/configuration_schema.json", |
| 3 | + "options": { |
| 4 | + "typeAware": true, |
| 5 | + "maxWarnings": 0 |
| 6 | + }, |
| 7 | + "plugins": ["typescript", "react", "jsx-a11y", "import", "promise", "vitest", "oxc"], |
| 8 | + "categories": { |
| 9 | + "correctness": "error", |
| 10 | + "suspicious": "error" |
| 11 | + }, |
| 12 | + "rules": { |
| 13 | + "typescript/no-explicit-any": "error", |
| 14 | + "typescript/no-non-null-assertion": "error", |
| 15 | + "typescript/no-unsafe-assignment": "error", |
| 16 | + "typescript/no-unsafe-argument": "error", |
| 17 | + "typescript/no-unsafe-call": "error", |
| 18 | + "typescript/no-unsafe-member-access": "error", |
| 19 | + "typescript/no-floating-promises": "error", |
| 20 | + "typescript/no-misused-promises": "error", |
| 21 | + "typescript/switch-exhaustiveness-check": "error", |
| 22 | + "react/rules-of-hooks": "error", |
| 23 | + "react/exhaustive-deps": "error", |
| 24 | + "react/react-in-jsx-scope": "off", |
| 25 | + "typescript/no-unsafe-type-assertion": "off", |
| 26 | + "typescript/no-duplicate-type-constituents": "off", |
| 27 | + "react/refs": "off", |
| 28 | + "react/purity": "off", |
| 29 | + "jsx-a11y/alt-text": "off", |
| 30 | + "jsx-a11y/control-has-associated-label": "off", |
| 31 | + "jsx-a11y/label-has-associated-control": "off", |
| 32 | + "jsx-a11y/click-events-have-key-events": "off", |
| 33 | + "jsx-a11y/no-static-element-interactions": "off", |
| 34 | + "jsx-a11y/prefer-tag-over-role": "off", |
| 35 | + "import/no-unassigned-import": "off", |
| 36 | + "eslint/no-shadow": "off" |
| 37 | + } |
| 38 | +} |
0 commit comments