Skip to content
GitHub Actions / eslint failed Feb 26, 2024 in 0s

reviewdog [eslint] report

reported by reviewdog 🐶

Findings (2)

frontend/src/app/features/hal/resources/meeting-resource.ts|33 col 49| Unexpected any. Specify a different type.
frontend/src/app/shared/components/editor/components/ckeditor-augmented-textarea/ckeditor-augmented-textarea.component.ts|73 col 41| Missing semicolon.

Filtered Findings (5734)

frontend/src/app/app.module.ts|293 col 3| Lifecycle interface 'DoBootstrap' should be implemented for method 'ngDoBootstrap'. (https://angular.io/styleguide#style-09-01)
frontend/src/app/app.module.ts|306 col 11| Unsafe assignment of an any value.
frontend/src/app/app.module.ts|306 col 25| Unsafe member access .injector on an any value.
frontend/src/app/app.module.ts|306 col 25| Unsafe call of an any typed value.
frontend/src/app/app.module.ts|306 col 25| Unexpected dangling '
' in 'injector'.
frontend/src/app/app.module.ts|306 col 36| Unexpected any. Specify a different type.
frontend/src/app/app.module.ts|307 col 5| Unsafe member access .forEach on an any value.
frontend/src/app/app.module.ts|307 col 5| Unsafe call of an any typed value.
frontend/src/app/app.module.ts|307 col 5| Unsafe member access .call on an any value.
frontend/src/app/app.module.ts|307 col 5| Unsafe call of an any typed value.
frontend/src/app/app.module.ts|309 col 48| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/api-v3.service.spec.ts|54 col 32| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/api-v3.service.spec.ts|55 col 32| Unsafe argument of type any assigned to a parameter of type string | string[][] | Record<string, string> | URLSearchParams | undefined.
frontend/src/app/core/apiv3/api-v3.service.spec.ts|83 col 7| No new line before expect
frontend/src/app/core/apiv3/cache/cachable-apiv3-collection.ts|65 col 24| Unsafe argument of type any assigned to a parameter of type T.
frontend/src/app/core/apiv3/cache/cachable-apiv3-collection.ts|65 col 36| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/cache/cachable-apiv3-collection.ts|76 col 5| Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the void operator.
frontend/src/app/core/apiv3/cache/cachable-apiv3-resource.ts|133 col 5| Unsafe return of an any typed value.
frontend/src/app/core/apiv3/cache/cachable-apiv3-resource.ts|138 col 15| Unsafe member access .schema on an any value.
frontend/src/app/core/apiv3/cache/cachable-apiv3-resource.ts|140 col 33| Unsafe argument of type any assigned to a parameter of type string.
frontend/src/app/core/apiv3/cache/cachable-apiv3-resource.ts|140 col 33| Unsafe member access .schema on an any value.
frontend/src/app/core/apiv3/cache/cachable-apiv3-resource.ts|148 col 12| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/cache/cachable-apiv3-resource.ts|155 col 5| Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the void operator.
frontend/src/app/core/apiv3/cache/state-cache.service.ts|36 col 3| 'forkJoin' is defined but never used. Allowed unused vars must match /^
/u.
frontend/src/app/core/apiv3/cache/state-cache.service.ts|36 col 3| 'forkJoin' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/apiv3/cache/state-cache.service.ts|116 col 29| Forbidden non-null assertion.
frontend/src/app/core/apiv3/cache/state-cache.service.ts|116 col 43| Unsafe argument of type any assigned to a parameter of type T.
frontend/src/app/core/apiv3/cache/state-cache.service.ts|116 col 55| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/backups/apiv3-backups-path.ts|36 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/backups/apiv3-backups-path.ts|37 col 29| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/capabilities/apiv3-capabilities-paths.ts|36 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/capabilities/apiv3-capabilities-paths.ts|37 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/configuration/apiv3-configuration-path.ts|38 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/configuration/apiv3-configuration-path.ts|39 col 29| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/configuration/apiv3-configuration-path.ts|48 col 5| Return statement should not contain assignment.
frontend/src/app/core/apiv3/endpoints/days/api-v3-days-paths.ts|33 col 3| 'ApiV3GettableResource' is defined but never used. Allowed unused vars must match /^
/u.
frontend/src/app/core/apiv3/endpoints/days/api-v3-days-paths.ts|33 col 3| 'ApiV3GettableResource' is defined but never used. Allowed unused vars must match /^_/u.
frontend/src/app/core/apiv3/endpoints/days/api-v3-days-paths.ts|41 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/days/api-v3-days-paths.ts|42 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|43 col 53| Don't use Object as a type. The Object type actually means "any non-nullish value", so it is marginally better than unknown.

Annotations

Check warning on line 33 in frontend/src/app/features/hal/resources/meeting-resource.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/hal/resources/meeting-resource.ts#L33 <@typescript-eslint/no-explicit-any>(https://typescript-eslint.io/rules/no-explicit-any)

Unexpected any. Specify a different type.
Raw output
{"ruleId":"@typescript-eslint/no-explicit-any","severity":1,"message":"Unexpected any. Specify a different type.","line":33,"column":49,"nodeType":"TSAnyKeyword","messageId":"unexpectedAny","endLine":33,"endColumn":52,"suggestions":[{"messageId":"suggestUnknown","fix":{"range":[1494,1497],"text":"unknown"},"desc":"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."},{"messageId":"suggestNever","fix":{"range":[1494,1497],"text":"never"},"desc":"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."}]}

Check failure on line 74 in frontend/src/app/shared/components/editor/components/ckeditor-augmented-textarea/ckeditor-augmented-textarea.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/shared/components/editor/components/ckeditor-augmented-textarea/ckeditor-augmented-textarea.component.ts#L73-L74 <@typescript-eslint/semi>(https://typescript-eslint.io/rules/semi)

Missing semicolon.
Raw output
{"ruleId":"@typescript-eslint/semi","severity":2,"message":"Missing semicolon.","line":73,"column":41,"nodeType":"PropertyDefinition","messageId":"missingSemi","endLine":74,"endColumn":1,"fix":{"range":[3318,3318],"text":";"}}