new interface: #89
Annotations
45 errors and 12 warnings
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L1
[import-newlines/enforce] Imports must be broken into multiple lines if there are more than 1 elements.
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L1
[@stylistic/js/object-curly-newline] Expected a line break after this opening brace.
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L1
[@stylistic/js/object-curly-newline] Expected a line break before this closing brace.
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L18
[import-newlines/enforce] Imports must not be broken into multiple lines if there are 1 or less elements.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L117
[@stylistic/js/multiline-ternary] Expected newline between test and consequent of ternary expression.
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L18
[@stylistic/js/object-curly-newline] Unexpected line break after this opening brace.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L117
[@stylistic/js/multiline-ternary] Expected newline between consequent and alternate of ternary expression.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L117
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L20
[@stylistic/js/object-curly-newline] Unexpected line break before this closing brace.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L134
[prefer-const] 'filteredIdx' is never reassigned. Use 'const' instead.
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L30
[prefer-const] 'numPages' is never reassigned. Use 'const' instead.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L136
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L31
[@stylistic/js/comma-spacing] A space is required after ','.
|
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L11
[import-newlines/enforce] Imports must not be broken into multiple lines if there are 1 or less elements.
|
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L11
[@stylistic/js/object-curly-newline] Unexpected line break after this opening brace.
|
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L13
[@stylistic/js/object-curly-newline] Unexpected line break before this closing brace.
|
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L33
[prefer-const] 'numPages' is never reassigned. Use 'const' instead.
|
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L34
[@stylistic/js/comma-spacing] A space is required after ','.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L185
[prefer-const] 'newLogEventNum' is never reassigned. Use 'const' instead.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L188
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L198
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L268
[@stylistic/js/indent] Expected indentation of 12 spaces but found 16.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L292
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/LogFileManager.ts#L229
[no-unused-expressions] Expected an assignment or function call and instead saw an expression.
|
new-log-viewer/src/services/LogFileManager.ts#L229
[@stylistic/js/multiline-ternary] Expected newline between test and consequent of ternary expression.
|
new-log-viewer/src/services/LogFileManager.ts#L229
[@stylistic/js/multiline-ternary] Expected newline between consequent and alternate of ternary expression.
|
new-log-viewer/src/services/LogFileManager.ts#L229
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/LogFileManager.ts#L244
[@stylistic/js/padded-blocks] Block must not be padded by blank lines.
|
new-log-viewer/src/services/LogFileManager.ts#L301
[max-lines] File has too many lines (320). Maximum allowed is 300.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L23
[@stylistic/js/object-curly-spacing] There should be no space after '{'.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L23
[@typescript-eslint/no-unused-vars] 'number' is defined but never used.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L23
[@stylistic/js/object-curly-spacing] There should be no space before '}'.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L33
[@typescript-eslint/no-unused-vars] 'createIndicesArray' is assigned a value but never used.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L104
[no-unneeded-ternary] Unnecessary use of boolean literals in conditional expression.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L104
[@stylistic/js/multiline-ternary] Expected newline between test and consequent of ternary expression.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L104
[@stylistic/js/multiline-ternary] Expected newline between consequent and alternate of ternary expression.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L109
[@stylistic/js/comma-spacing] A space is required after ','.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L109
[@stylistic/js/comma-spacing] A space is required after ','.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L109
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L113
[@stylistic/js/comma-spacing] A space is required after ','.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L113
[@stylistic/js/comma-spacing] A space is required after ','.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L113
[@stylistic/js/semi] Missing semicolon.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L117
[prefer-const] 'length' is never reassigned. Use 'const' instead.
|
lint-check
Process completed with exit code 1.
|
lint-check
43 errors and 12 warnings
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L1
[simple-import-sort/imports] Run autofix to sort these imports!
|
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L31
[@stylistic/js/max-len] This line has a length of 107. Maximum allowed is 100.
|
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L1
[simple-import-sort/imports] Run autofix to sort these imports!
|
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L34
[@stylistic/js/max-len] This line has a length of 107. Maximum allowed is 100.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L151
[@stylistic/js/max-len] This line has a length of 104. Maximum allowed is 100.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L206
[react-hooks/exhaustive-deps] React Hook useCallback has a missing dependency: 'logEventNum'. Either include it or remove the dependency array.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L271
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'pageNum'. Either include it or remove the dependency array.
|
new-log-viewer/src/contexts/StateContextProvider.tsx#L295
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'logEventNum'. Either include it or remove the dependency array.
|
new-log-viewer/src/services/LogFileManager.ts#L229
[@stylistic/js/max-len] This line has a length of 104. Maximum allowed is 100.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L1
[simple-import-sort/imports] Run autofix to sort these imports!
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L105
[@stylistic/js/padding-line-between-statements] Expected blank line before this statement.
|
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L116
[@stylistic/js/max-len] This line has a length of 106. Maximum allowed is 100.
|