Skip to content

add temporary log filter button #41

add temporary log filter button

add temporary log filter button #41

GitHub Actions / ESLint Report Analysis failed Sep 12, 2024 in 1s

ESLint Report Analysis

17 ESLint error(s) and 9 ESLint warning(s) found

Details

Annotations

Check failure on line 9 in new-log-viewer/src/components/Layout.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/Layout.tsx#L9

[import/newline-after-import] Expected 2 empty lines after import statement not followed by another import.

Check warning on line 58 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#L58

[@stylistic/js/max-len] This line has a length of 108. Maximum allowed is 100.

Check failure on line 1 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L1

[import-newlines/enforce] Imports must be broken into multiple lines if there are more than 1 elements.

Check failure on line 1 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.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/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L1

[@stylistic/js/object-curly-newline] Expected a line break before this closing brace.

Check warning on line 11 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L10-L11

[@stylistic/js/comma-dangle] Missing trailing comma.

Check failure on line 11 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L11

[import/newline-after-import] Expected 2 empty lines after import statement not followed by another import.

Check warning on line 14 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L13-L14

[jsdoc/require-jsdoc] Missing JSDoc comment.

Check failure on line 25 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L25

[@typescript-eslint/no-shadow] 'selectedLogLevels' is already declared in the upper scope on line 14 column 12.

Check failure on line 26 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L26

[@stylistic/js/operator-linebreak] '?' should be placed at the end of the line.

Check failure on line 26 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L26

[line-comment-position] Expected comment to be above code.

Check failure on line 26 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L26

[no-inline-comments] Unexpected comment inline with code.

Check failure on line 27 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L27

[@stylistic/js/operator-linebreak] ':' should be placed at the end of the line.

Check failure on line 31 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L31

[@typescript-eslint/restrict-template-expressions] Invalid type "string[] | null" of template literal expression.

Check failure on line 36 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L36

[@stylistic/js/lines-around-comment] Expected line before comment.

Check failure on line 38 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L38

[@stylistic/jsx/jsx-sort-props] Shorthand props must be listed before all other props

Check warning on line 38 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L38

[react/jsx-boolean-value] Value must be set for boolean attribute `multiple`

Check failure on line 39 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L39

[@stylistic/jsx/jsx-sort-props] Callbacks must be listed after all other props

Check failure on line 52 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L52

[line-comment-position] Expected comment to be above code.

Check failure on line 52 in new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx#L52

[no-inline-comments] Unexpected comment inline with code.

Check failure on line 41 in new-log-viewer/src/components/StatusBar/index.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/components/StatusBar/index.tsx#L41

[@stylistic/jsx/jsx-tag-spacing] A space is forbidden before closing bracket

Check warning on line 248 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#L248

[@stylistic/js/padding-line-between-statements] Expected blank line before this statement.

Check warning on line 333 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#L333

[sort-keys] Expected object keys to be in natural ascending order. 'changeLogLevelFilter' should be before 'pageNum'.

Check warning on line 35 in new-log-viewer/src/utils/config.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/utils/config.ts#L28-L35

[jsdoc/require-throws] Missing JSDoc @throws declaration.

Check warning on line 65 in new-log-viewer/src/utils/config.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

new-log-viewer/src/utils/config.ts#L58-L65

[jsdoc/require-throws] Missing JSDoc @throws declaration.