Skip to content

fix lint

fix lint #40

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

ESLint Report Analysis

1 ESLint error(s) and 6 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 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.

Check warning on line 105 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#L100-L105

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