|
9 | 9 | "**/seedCloud.ts", |
10 | 10 | "**/populate.js" |
11 | 11 | ], |
| 12 | + // All rules below are disabled because they currently fire on the existing |
| 13 | + // codebase (1748 warnings across these 20 rules as of this commit). Disabled |
| 14 | + // to keep the lint baseline green; re-enable and fix incrementally. |
12 | 15 | "rules": { |
13 | | - "consistent-type-imports": [ |
14 | | - "warn", |
15 | | - { |
16 | | - "prefer": "type-imports", |
17 | | - "disallowTypeAnnotations": true, |
18 | | - "fixStyle": "inline-type-imports" |
19 | | - } |
20 | | - ], |
21 | | - "import/no-duplicates": ["warn", { "prefer-inline": true }], |
22 | | - // Disabled for now: oxlint treats any use*()/use() call as a React hook, |
23 | | - // producing false positives in async/test code (testcontainers, cli-v3 e2e). |
24 | | - // Re-enable (ideally scoped to React packages) once those are addressed. |
| 16 | + // eslint |
| 17 | + "no-unused-vars": "off", |
| 18 | + "no-unused-expressions": "off", |
| 19 | + "no-control-regex": "off", |
| 20 | + "no-empty-pattern": "off", |
| 21 | + "no-unused-private-class-members": "off", |
| 22 | + "no-useless-catch": "off", |
| 23 | + "no-unsafe-optional-chaining": "off", |
| 24 | + "no-unreachable": "off", |
| 25 | + "require-yield": "off", |
| 26 | + "no-async-promise-executor": "off", |
| 27 | + "no-unsafe-finally": "off", |
| 28 | + "no-useless-escape": "off", |
| 29 | + // typescript |
| 30 | + "typescript/consistent-type-imports": "off", |
| 31 | + "typescript/no-this-alias": "off", |
| 32 | + "typescript/no-non-null-asserted-optional-chain": "off", |
| 33 | + "typescript/no-unnecessary-parameter-property-assignment": "off", |
| 34 | + // import |
| 35 | + "import/no-duplicates": "off", |
| 36 | + "import/namespace": "off", |
| 37 | + // react |
| 38 | + "react/jsx-key": "off", |
| 39 | + "react/no-children-prop": "off", |
| 40 | + // react-hooks |
| 41 | + "react-hooks/exhaustive-deps": "off", |
| 42 | + // oxlint treats any use*()/use() call as a React hook, producing false |
| 43 | + // positives in async/test code (testcontainers, cli-v3 e2e). |
25 | 44 | "react-hooks/rules-of-hooks": "off" |
26 | 45 | } |
27 | 46 | } |
0 commit comments