Fix oxlint --deny-warnings and eliminate all biome-ignores

--deny warnings was a no-op (not a valid category); the correct flag
is --deny-warnings. Fixed all 8 pre-existing warnings and removed
every biome-ignore from source and test files. Simplified the check
script to zero-tolerance: any biome-ignore now fails the build.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-04-10 16:17:30 +02:00
parent 5cb5721a6f
commit 9b0cb38897
8 changed files with 65 additions and 125 deletions

View File

@@ -421,7 +421,10 @@ function dispatchEncounterAction(
export function useEncounter() {
const { encounterPersistence, undoRedoPersistence } = useAdapters();
const [state, dispatch] = useReducer(encounterReducer, null, () =>
initializeState(encounterPersistence.load, undoRedoPersistence.load),
initializeState(
() => encounterPersistence.load(),
() => undoRedoPersistence.load(),
),
);
const { encounter, undoRedoState, events } = state;