Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Jan 10, 2025
1 parent b4b377f commit ea74e74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/LogFileManager/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint max-lines: ["error", 450] */
/* eslint max-lines: ["error", 500] */
import {
Decoder,
DecodeResult,
Expand Down
4 changes: 4 additions & 0 deletions src/services/decoders/ClpIrDecoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ class ClpIrDecoder implements Decoder {
const results: Nullable<DecodeResult[]> =
this.#streamReader.decodeRange(beginIdx, endIdx, useFilter);

// eslint-disable-next-line no-warning-comments
// TODO: Fix DecodeResult typing in clp-ffi-js to be nullable.

// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (null === results) {
return null;
}
Expand Down

0 comments on commit ea74e74

Please sign in to comment.