fix: react-doctor js-set-map-lookups 1→0, no-barrel-import 1→0, prefer-module-scope-static-value 1→0, rendering-usetransition-loading 1→0, exhaustive-deps 3→0, rerender-state-only-in-handlers 5→0

This commit is contained in:
Nora
2026-06-26 06:52:45 -06:00
parent 3d5988afd0
commit ce2dc8f070
11 changed files with 76 additions and 41 deletions
+2 -2
View File
@@ -207,14 +207,14 @@ class MockQueryBuilder<T extends Record<string, unknown> = Record<string, unknow
typeof rowValue === "string" &&
likeNeedle !== null &&
likeNeedle.length > 0 &&
rowValue.indexOf(likeNeedle) !== -1
rowValue.includes(likeNeedle)
);
case "ilike":
return (
typeof rowValue === "string" &&
ilikeNeedle !== null &&
ilikeNeedle.length > 0 &&
rowValue.toLowerCase().indexOf(ilikeNeedle) !== -1
rowValue.toLowerCase().includes(ilikeNeedle)
);
case "in":
return inSet !== null && inSet.has(rowValue);