fix eslint #17
Annotations
22 errors and 9 warnings
new-log-viewer/src/components/Layout.tsx#L341
[@stylistic/js/arrow-parens] Expected parentheses around arrow function argument.
|
new-log-viewer/src/components/Layout.tsx#L344
[@stylistic/js/comma-spacing] A space is required after ','.
|
new-log-viewer/src/services/LogFileManager.ts#L19
[import/newline-after-import] Expected 2 empty lines after import statement not followed by another import.
|
new-log-viewer/src/services/LogFileManager.ts#L244
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/LogFileManager.ts#L247
[@stylistic/js/spaced-comment] Expected space or tab after '//' in comment.
|
new-log-viewer/src/services/LogFileManager.ts#L248
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/LogFileManager.ts#L250
[@stylistic/js/spaced-comment] Expected space or tab after '//' in comment.
|
new-log-viewer/src/services/LogFileManager.ts#L252
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/LogFileManager.ts#L255
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/MainWorker.ts#L82
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L9
[import/newline-after-import] Expected 2 empty lines after import statement not followed by another import.
|
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L48
[@typescript-eslint/no-unused-vars] 'logLevelFilter' is defined but never used.
|
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L49
[@stylistic/js/indent] Expected indentation of 8 spaces but found 9.
|
new-log-viewer/src/services/decoders/ClpIrDecoder.ts#L50
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L74
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L193
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L210
[class-methods-use-this] Expected 'this' to be used by class private method #createIndicesArray.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L211
[@stylistic/js/no-multi-spaces] Multiple spaces found before '='.
|
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
20 errors and 9 warnings
|
new-log-viewer/src/components/Layout.tsx#L192
[@stylistic/js/max-len] This line has a length of 104. Maximum allowed is 100.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L147
[@stylistic/js/max-len] This line has a length of 124. Maximum allowed is 100.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L148
[@stylistic/js/max-len] This line has a length of 121. 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#L49
[no-warning-comments] Unexpected 'todo' comment: 'TODO: fix this after log level filtering...'.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L88
[@stylistic/js/padding-line-between-statements] Expected blank line before this statement.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L215
[@stylistic/js/padding-line-between-statements] Expected blank line before this statement.
|
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.
|