Skip to content
GitHub Actions / ESLint Report Analysis failed Sep 18, 2024 in 1s

ESLint Report Analysis

43 ESLint error(s) and 12 ESLint warning(s) found

Details

Annotations

Check failure on line 1 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 1 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 117 in new-log-viewer/src/services/decoders/JsonlDecoder.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/services/decoders/JsonlDecoder.ts#L117

[@stylistic/js/multiline-ternary] Expected newline between test and consequent of ternary expression.

Check failure on line 18 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx

See this annotation in the file changed.

@github-actions 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 117 in new-log-viewer/src/services/decoders/JsonlDecoder.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/services/decoders/JsonlDecoder.ts#L117

[@stylistic/js/multiline-ternary] Expected newline between consequent and alternate of ternary expression.

Check failure on line 118 in new-log-viewer/src/services/decoders/JsonlDecoder.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/services/decoders/JsonlDecoder.ts#L117-L118

[@stylistic/js/semi] Missing semicolon.

Check failure on line 20 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx

See this annotation in the file changed.

@github-actions 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 134 in new-log-viewer/src/services/decoders/JsonlDecoder.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/services/decoders/JsonlDecoder.ts#L134

[prefer-const] 'filteredIdx' is never reassigned. Use 'const' instead.

Check failure on line 30 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/MenuBar/NavigationBar.tsx#L30

[prefer-const] 'numPages' is never reassigned. Use 'const' instead.

Check failure on line 137 in new-log-viewer/src/services/decoders/JsonlDecoder.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/services/decoders/JsonlDecoder.ts#L136-L137

[@stylistic/js/semi] Missing semicolon.

Check warning on line 31 in new-log-viewer/src/components/MenuBar/NavigationBar.tsx

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/contexts/StateContextProvider.tsx#L188-L189

[@stylistic/js/semi] Missing semicolon.