Skip to content

Commit ca3e2ed

Browse files
committed
fix: turn off some problematic rules
1 parent bb78d1a commit ca3e2ed

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.oxlintrc.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,22 @@
5959
"rules": {
6060
"typescript/ban-ts-comment": "error",
6161
"typescript/consistent-type-imports": "error",
62-
"typescript/prefer-optional-chain": "error",
6362
"typescript/no-unnecessary-type-assertion": "error",
6463
"typescript/prefer-for-of": "error",
65-
"typescript/no-floating-promises": ["error", { "ignoreVoid": false }],
64+
// "typescript/no-floating-promises": ["error", { "ignoreVoid": false }],
6665
"typescript/no-dynamic-delete": "error",
67-
"typescript/no-unsafe-member-access": "error",
66+
// "typescript/no-unsafe-member-access": "error",
6867
"typescript/unbound-method": "error",
6968
"typescript/no-explicit-any": "error",
70-
"typescript/no-empty-function": "off"
69+
"typescript/no-empty-function": "off",
70+
71+
// === FIXME: Rules to turn back as error ===
72+
"typescript/prefer-optional-chain": "warn",
73+
"typescript/no-floating-promises": "warn",
74+
"typescript/no-unsafe-member-access": "warn",
75+
76+
// === FIXME: Requires migrating TS to v6/v7 ===
77+
"typescript/tsconfig-error": "off"
7178
}
7279
},
7380
{

0 commit comments

Comments
 (0)