Skip to content

fix eslint

fix eslint #20

Triggered via push September 6, 2024 15:58
Status Failure
Total duration 34s
Artifacts

lint.yaml

on: push
lint-check
22s
lint-check
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
new-log-viewer/src/services/MainWorker.ts#L82
[@stylistic/js/semi] Missing semicolon.
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L49
[class-methods-use-this] Expected 'this' to be used by class method 'changeLogLevelFilter'.
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L49
[@typescript-eslint/no-unused-vars] 'logLevelFilter' is defined but never used.
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L51
[@stylistic/js/semi] Missing semicolon.
new-log-viewer/src/typings/logs.ts#L24
[@stylistic/js/no-multi-spaces] Multiple spaces found before 'Object'.
new-log-viewer/src/typings/logs.ts#L26
[@stylistic/js/semi] Missing semicolon.
lint-check
Process completed with exit code 1.
lint-check
6 errors and 7 warnings
new-log-viewer/src/components/Layout.tsx#L191
[@stylistic/js/max-len] This line has a length of 104. Maximum allowed is 100.
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L1
[simple-import-sort/imports] Run autofix to sort these imports!
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L50
[no-warning-comments] Unexpected 'todo' comment: 'TODO: fix this after log level filtering...'.
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L29
[jsdoc/informative-docs] This tag description only repeats the name it describes.
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L32
[func-style] Expected a function expression.
new-log-viewer/src/typings/logs.ts#L37
[@stylistic/js/comma-dangle] Missing trailing comma.
new-log-viewer/src/typings/worker.ts#L4
[@stylistic/js/comma-dangle] Missing trailing comma.