cleaning #90
ESLint Report Analysis
40 ESLint error(s) and 11 ESLint warning(s) found
Details
Annotations
Check failure on line 1 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
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.
Check warning on line 20 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L1-L20
[simple-import-sort/imports] Run autofix to sort these imports!
Check failure on line 119 in new-log-viewer/src/services/decoders/JsonlDecoder.ts
github-actions / ESLint Report Analysis
new-log-viewer/src/services/decoders/JsonlDecoder.ts#L118-L119
[@stylistic/js/semi] Missing semicolon.
Check failure on line 1 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L1
[@stylistic/js/object-curly-newline] Expected a line break after this opening brace.
Check failure on line 1 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L1
[@stylistic/js/object-curly-newline] Expected a line break before this closing brace.
Check failure on line 20 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L18-L20
[import-newlines/enforce] Imports must not be broken into multiple lines if there are 1 or less elements.
Check failure on line 18 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L18
[@stylistic/js/object-curly-newline] Unexpected line break after this opening brace.
Check failure on line 20 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L20
[@stylistic/js/object-curly-newline] Unexpected line break before this closing brace.
Check failure on line 30 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L30
[prefer-const] 'numPages' is never reassigned. Use 'const' instead.
Check warning on line 31 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L31
[@stylistic/js/max-len] This line has a length of 107. Maximum allowed is 100.
Check failure on line 31 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L31
[@stylistic/js/comma-spacing] A space is required after ','.
Check warning on line 20 in new-log-viewer/src/components/MenuBar/PageNumInput.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L1-L20
[simple-import-sort/imports] Run autofix to sort these imports!
Check failure on line 13 in new-log-viewer/src/components/MenuBar/PageNumInput.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L11-L13
[import-newlines/enforce] Imports must not be broken into multiple lines if there are 1 or less elements.
Check failure on line 11 in new-log-viewer/src/components/MenuBar/PageNumInput.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L11
[@stylistic/js/object-curly-newline] Unexpected line break after this opening brace.
Check failure on line 13 in new-log-viewer/src/components/MenuBar/PageNumInput.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L13
[@stylistic/js/object-curly-newline] Unexpected line break before this closing brace.
Check failure on line 33 in new-log-viewer/src/components/MenuBar/PageNumInput.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L33
[prefer-const] 'numPages' is never reassigned. Use 'const' instead.
Check warning on line 34 in new-log-viewer/src/components/MenuBar/PageNumInput.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L34
[@stylistic/js/max-len] This line has a length of 107. Maximum allowed is 100.
Check failure on line 34 in new-log-viewer/src/components/MenuBar/PageNumInput.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/components/MenuBar/PageNumInput.tsx#L34
[@stylistic/js/comma-spacing] A space is required after ','.
Check warning on line 151 in new-log-viewer/src/contexts/StateContextProvider.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/contexts/StateContextProvider.tsx#L151
[@stylistic/js/max-len] This line has a length of 104. Maximum allowed is 100.
Check failure on line 185 in new-log-viewer/src/contexts/StateContextProvider.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/contexts/StateContextProvider.tsx#L185
[prefer-const] 'newLogEventNum' is never reassigned. Use 'const' instead.
Check failure on line 189 in new-log-viewer/src/contexts/StateContextProvider.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/contexts/StateContextProvider.tsx#L188-L189
[@stylistic/js/semi] Missing semicolon.
Check failure on line 199 in new-log-viewer/src/contexts/StateContextProvider.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/contexts/StateContextProvider.tsx#L198-L199
[@stylistic/js/semi] Missing semicolon.
Check warning on line 206 in new-log-viewer/src/contexts/StateContextProvider.tsx
github-actions / ESLint Report Analysis
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.
Check failure on line 268 in new-log-viewer/src/contexts/StateContextProvider.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/contexts/StateContextProvider.tsx#L268
[@stylistic/js/indent] Expected indentation of 12 spaces but found 16.
Check warning on line 273 in new-log-viewer/src/contexts/StateContextProvider.tsx
github-actions / ESLint Report Analysis
new-log-viewer/src/contexts/StateContextProvider.tsx#L271-L273
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'pageNum'. Either include it or remove the dependency array.