chore: bump oxlint & enable more supported rules (#14769)
This commit is contained in:
1 parent
cdadf8588a
commit
233004f867
285 files changed
+937
-1983
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user