chore: bump oxlint & enable more supported rules (#14769)

This commit is contained in:
DarkSky
2026-04-03 03:36:52 +08:00
committed by GitHub
parent cdadf8588a
commit 233004f867
285 changed files with 937 additions and 1983 deletions

View File

@@ -19,7 +19,6 @@
"@emotion/css": "^11.13.5",
"@emotion/hash": "^0.9.2",
"@floating-ui/dom": "^1.6.13",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.1.23",
"@types/lodash-es": "^4.17.12",
@@ -27,7 +26,6 @@
"date-fns": "^4.0.0",
"lit": "^3.2.0",
"lodash-es": "^4.17.23",
"rxjs": "^7.8.2",
"yjs": "^13.6.27",
"zod": "^3.25.76"
},

View File

@@ -60,7 +60,7 @@ export class FnTypeInstance<
if (arg == null) {
return false;
}
// eslint-disable-next-line sonarjs/no-collapsible-if
// oxlint-disable-next-line sonarjs/no-collapsible-if
if (realArg != null) {
if (!unify(newCtx, realArg, arg)) {
return false;

View File

@@ -180,7 +180,7 @@ export class TypeSystem {
if (arg == null) {
return;
}
// eslint-disable-next-line sonarjs/no-collapsible-if
// oxlint-disable-next-line sonarjs/no-collapsible-if
if (realArg != null) {
if (!this._unify(newCtx, realArg, arg)) {
return;