[#40749] Consistently calculate % Complete in Work Package hierarchies #170
reviewdog [eslint] report
reported by reviewdog 🐶
Findings (22)
frontend/src/app/shared/components/fields/edit/edit-field.initializer.ts|52 col 36| Missing trailing comma.
frontend/src/app/shared/components/fields/edit/edit-field.initializer.ts|102 col 114| Missing semicolon.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|33 col 13| 'Inject' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|33 col 13| 'Inject' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|33 col 21| 'ChangeDetectorRef' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|33 col 21| 'ChangeDetectorRef' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|33 col 40| 'ElementRef' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|33 col 40| 'ElementRef' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|40 col 3| 'WorkPackageShareModalComponent' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|40 col 3| 'WorkPackageShareModalComponent' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|42 col 10| 'OpModalLocalsToken' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|42 col 10| 'OpModalLocalsToken' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|43 col 10| 'OpModalLocalsMap' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|43 col 10| 'OpModalLocalsMap' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|44 col 10| 'I18nService' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|44 col 10| 'I18nService' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|45 col 10| 'PathHelperService' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|45 col 10| 'PathHelperService' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|46 col 10| 'ActionsService' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|46 col 10| 'ActionsService' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|47 col 10| 'WorkPackageResource' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts|47 col 10| 'WorkPackageResource' is defined but never used. Allowed unused vars must match /^/u.
Filtered Findings (5704)
frontend/src/app/app.module.ts|296 col 3| Lifecycle interface 'DoBootstrap' should be implemented for method 'ngDoBootstrap'. (https://angular.io/styleguide#style-09-01)
frontend/src/app/app.module.ts|309 col 11| Unsafe assignment of an any
value.
frontend/src/app/app.module.ts|309 col 25| Unsafe member access .injector on an any
value.
frontend/src/app/app.module.ts|309 col 25| Unsafe call of an any
typed value.
frontend/src/app/app.module.ts|309 col 25| Unexpected dangling '' in 'injector'.
frontend/src/app/app.module.ts|309 col 36| Unexpected any. Specify a different type.
frontend/src/app/app.module.ts|310 col 5| Unsafe member access .forEach on an any
value.
frontend/src/app/app.module.ts|310 col 5| Unsafe call of an any
typed value.
frontend/src/app/app.module.ts|310 col 5| Unsafe member access .call on an any
value.
frontend/src/app/app.module.ts|310 col 5| Unsafe call of an any
typed value.
frontend/src/app/app.module.ts|312 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
.
- If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|43 col 96| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|46 col 13| Unsafe assignment of anany
value.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|50 col 11| Unsafe member access .widgets on anany
value.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 9| Unsafe assignment of anany
value.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 9| Unsafe member access .widgets on anany
value.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 27| Unsafe member access .map on anany
value.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 27| Unsafe call of anany
typed value.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|62 col 7| Unsafe return of anany
typed value.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|74 col 45| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grid-paths.ts|44 col 38| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grids-paths.ts|46 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/grids/apiv3-grids-paths.ts|47 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/groups/apiv3-groups-paths.ts|44 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/groups/apiv3-groups-paths.ts|45 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/help_texts/apiv3-help-texts-paths.ts|37 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/help_texts/apiv3-help-texts-paths.ts|38 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/memberships/apiv3-memberships-form.ts|40 col 69| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/memberships/apiv3-memberships-paths.ts|48 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/memberships/apiv3-memberships-paths.ts|49 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/news/apiv3-news-paths.ts|44 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/news/apiv3-news-paths.ts|45 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/placeholder-users/apiv3-placeholder-users-paths.ts|44 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/placeholder-users/apiv3-placeholder-users-paths.ts|45 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/projects/apiv3-project-copy-paths.ts|34 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/projects/apiv3-project-copy-paths.ts|35 col 27| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/projects/apiv3-projects-paths.ts|47 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/projects/apiv3-projects-paths.ts|48 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/projects/project.cache.ts|40 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/projects/project.cache.ts|41 col 43| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|45 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|46 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|100 col 31| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|114 col 37| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|118 col 7| Unsafe assignment of anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|133 col 7| Unsafe return of anany
typed value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|133 col 14| Unsafe call of anany
typed value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|135 col 5| Unsafe return of anany
typed value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|135 col 12| Unsafe call of anany
typed value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|49 col 19| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|54 col 7| Unsafe member access ._links on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|65 col 52| Unsafe argument of typeany
assigned to a parameter of typeCollectionResource<QueryFilterInstanceSchemaResource>
.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|65 col 52| Unsafe member access .filtersSchemas on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|78 col 138| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|82 col 22| Unsafe member access .name on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|83 col 7| Unsafe member access .name on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|87 col 7| Unsafe assignment of anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|87 col 7| Unsafe member access ._links on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|87 col 24| Unsafe member access ._links on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|88 col 7| Unsafe member access ._links on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|98 col 52| Unsafe argument of typeany
assigned to a parameter of typeCollectionResource<QueryFilterInstanceSchemaResource>
.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|98 col 52| Unsafe member access .filtersSchemas on anany
value.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-order.ts|39 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-order.ts|41 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-order.ts|67 col 19| Arrow function should not return assignment.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-order.ts|67 col 20| 'id' is already declared in the upper scope on line 65 column 17.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-paths.ts|53 col 31| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-paths.ts|63 col 38| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/queries/apiv3-query-paths.ts|67 col 7| Unsafe assignment of anany
value.
frontend/src/app/core/apiv3/endpoints/relations/apiv3-relations-paths.ts|34 col 10| 'map' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/apiv3/endpoints/relations/apiv3-relations-paths.ts|34 col 10| 'map' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/apiv3/endpoints/relations/apiv3-relations-paths.ts|38 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/relations/apiv3-relations-paths.ts|39 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|38 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|39 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|52 col 50| 'id' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|52 col 50| 'id' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|53 col 13| 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 thevoid
operator.
frontend/src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|53 col 21| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|53 col 53| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|38 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|39 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|52 col 50| 'id' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|52 col 50| 'id' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|53 col 13| 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 thevoid
operator.
frontend/src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|53 col 21| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|53 col 53| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/time-entries/apiv3-time-entries-paths.ts|79 col 23| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/time-entries/apiv3-time-entry-paths.ts|52 col 24| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/time-entries/apiv3-time-entry-paths.ts|84 col 49| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/time-entries/apiv3-time-entry-paths.ts|86 col 7| Unsafe return of anany
typed value.
frontend/src/app/core/apiv3/endpoints/types/apiv3-types-paths.ts|36 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/types/apiv3-types-paths.ts|37 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/users/apiv3-users-paths.ts|37 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/users/apiv3-users-paths.ts|38 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/versions/apiv3-version-paths.ts|42 col 24| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/versions/apiv3-versions-paths.ts|34 col 10| 'WorkPackageResource' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/apiv3/endpoints/versions/apiv3-versions-paths.ts|34 col 10| 'WorkPackageResource' is defined but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/apiv3/endpoints/versions/apiv3-versions-paths.ts|40 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/versions/apiv3-versions-paths.ts|41 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/versions/apiv3-versions-paths.ts|65 col 23| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|50 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|51 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|108 col 5| Unsafe return of anany
typed value.
frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|108 col 82| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/work_packages/apiv3-work-package-form.ts|15 col 11| 'typePayload' is assigned a value but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/apiv3-work-package-form.ts|15 col 11| 'typePayload' is assigned a value but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|69 col 52| 'args' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|69 col 52| 'args' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|69 col 57| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|83 col 51| Prefer resolveTo
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|83 col 87| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|94 col 8| 'wp' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|94 col 8| 'wp' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|98 col 5| Unsafe assignment of type any[] to a variable of type WorkPackageResource[].
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|98 col 42| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|101 col 74| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|107 col 16| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|114 col 78| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|119 col 20| 'wp' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|119 col 20| 'wp' is defined but never used. Allowed unused args must match /^/u.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|122 col 16| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|42 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|43 col 47| Expected newline before ')'.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|56 col 32| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|58 col 29| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|64 col 29| Forbidden non-null assertion.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|75 col 7| 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 thevoid
operator.
frontend/src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|77 col 62| Forbidden non-null assertion.
frontend/src/app/core/apiv3/forms/apiv3-form-resource.ts|12 col 23| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/forms/apiv3-form-resource.ts|27 col 35| Don't useObject
as a type. TheObject
type actually means "any non-nullish value", so it is marginally better thanunknown
. - If you want a type meaning "any object", you probably want
object
instead. - If you want a type meaning "any value", you probably want
unknown
instead.
frontend/src/app/core/apiv3/paths/path-resources.ts|1 col 1| File has too many classes (2). Maximum allowed is 1.
frontend/src/app/core/apiv3/paths/path-resources.ts|7 col 43| 'SimpleResource' was used before it was defined.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|49 col 14| Expected newline after '('.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|50 col 30| Expected newline before ')'.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|63 col 79| Unsafe argument of typeany
assigned to a parameter of typeModelLinks
.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|114 col 19| Unexpected any. Specify a different type.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|115 col 5| Unsafe member access .options on anany
value.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|120 col 7| Unsafe member access .options on anany
value.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|127 col 13| Unsafe argument of typeany
assigned to a parameter of typeObject
.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|132 col 17| Unsafe argument of typeany
assigned to a parameter of typeGridResource
.
frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts|132 col 17| Unsafe member access .$source on anany
value.
frontend/src/app/core/current-project/current-project.service.spec.ts|38 col 19| Unexpected any. Specify a different type.
frontend/src/app/core/current-project/current-project.service.spec.ts|45 col 73| Unsafe argument of typeany
assigned to a parameter of typeApiV3Service
.
frontend/src/app/core/current-project/current-project.service.spec.ts|64 col 7| Unsafe assignment of anany
value.
frontend/src/app/core/current-project/current-project.service.ts|95 col 13| Forbidden non-null assertion.
frontend/src/app/core/current-project/current-project.service.ts|96 col 15| Forbidden non-null assertion.
frontend/src/app/core/current-project/current-project.service.ts|97 col 21| Forbidden non-null assertion.
frontend/src/app/core/current-project/current-project.service.ts|98 col 28| Forbidden non-null assertion.
frontend/src/app/core/current-user/current-user.module.ts|12 col 4| This assertion is unnecessary since it does not change the type of the expression.
frontend/src/app/core/current-user/current-user.service.ts|69 col 24| Default parameters should be last.
frontend/src/app/core/datetime/timezone.service.spec.ts|72 col 9| No new line before expect
frontend/src/app/core/datetime/timezone.service.spec.ts|78 col 9| No new line before expect
frontend/src/app/core/datetime/timezone.service.spec.ts|91 col 9| No new line before expect
frontend/src/app/core/datetime/timezone.service.ts|142 col 32| Unexpected any. Specify a different type.
frontend/src/app/core/datetime/timezone.service.ts|143 col 27| Unsafe argument of typeany
assigned to a parameter of typestring | Date
.
frontend/src/app/core/datetime/timezone.service.ts|146 col 40| Unexpected any. Specify a different type.
frontend/src/app/core/datetime/timezone.service.ts|147 col 5| Unsafe return of anany
typed value.
frontend/src/app/core/datetime/timezone.service.ts|147 col 12| Unsafe member access .format on anany
value.
frontend/src/app/core/datetime/timezone.service.ts|147 col 12| Unsafe call of anany
typed value.
frontend/src/app/core/datetime/timezone.service.ts|150 col 30| Unexpected any. Specify a different type.
frontend/src/app/core/datetime/timezone.service.ts|151 col 25| Unsafe argument of typeany
assigned to a parameter of typestring
.
frontend/src/app/core/enterprise/banners.service.ts|59 col 5| Expected an assignment or function call and instead saw an expression.
... (Too many findings. Dropped some findings)
Annotations
Check failure on line 53 in frontend/src/app/shared/components/fields/edit/edit-field.initializer.ts
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/edit-field.initializer.ts#L52-L53 <@typescript-eslint/comma-dangle>(https://typescript-eslint.io/rules/comma-dangle)
Missing trailing comma.
Raw output
{"ruleId":"@typescript-eslint/comma-dangle","severity":2,"message":"Missing trailing comma.","line":52,"column":36,"nodeType":"ImportSpecifier","messageId":"missing","endLine":53,"endColumn":1,"fix":{"range":[4196,4231],"text":"ProgressPopoverEditFieldComponent,\n}"}}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/edit-field.initializer.ts#L102-L103 <@typescript-eslint/semi>(https://typescript-eslint.io/rules/semi)
Missing semicolon.
Raw output
{"ruleId":"@typescript-eslint/semi","severity":2,"message":"Missing semicolon.","line":102,"column":114,"nodeType":"ExpressionStatement","messageId":"missingSemi","endLine":103,"endColumn":1,"fix":{"range":[6586,6586],"text":";"}}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L33 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'Inject' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'Inject' is defined but never used. Allowed unused vars must match /^_/u.","line":33,"column":13,"nodeType":"Identifier","messageId":"unusedVar","endLine":33,"endColumn":19}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L33 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'Inject' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'Inject' is defined but never used. Allowed unused vars must match /^_/u.","line":33,"column":13,"nodeType":"Identifier","messageId":"unusedVar","endLine":33,"endColumn":19}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L33 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'ChangeDetectorRef' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'ChangeDetectorRef' is defined but never used. Allowed unused vars must match /^_/u.","line":33,"column":21,"nodeType":"Identifier","messageId":"unusedVar","endLine":33,"endColumn":38}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L33 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'ChangeDetectorRef' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'ChangeDetectorRef' is defined but never used. Allowed unused vars must match /^_/u.","line":33,"column":21,"nodeType":"Identifier","messageId":"unusedVar","endLine":33,"endColumn":38}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L33 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'ElementRef' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'ElementRef' is defined but never used. Allowed unused vars must match /^_/u.","line":33,"column":40,"nodeType":"Identifier","messageId":"unusedVar","endLine":33,"endColumn":50}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L33 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'ElementRef' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'ElementRef' is defined but never used. Allowed unused vars must match /^_/u.","line":33,"column":40,"nodeType":"Identifier","messageId":"unusedVar","endLine":33,"endColumn":50}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L40 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'WorkPackageShareModalComponent' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'WorkPackageShareModalComponent' is defined but never used. Allowed unused vars must match /^_/u.","line":40,"column":3,"nodeType":"Identifier","messageId":"unusedVar","endLine":40,"endColumn":33}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L40 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'WorkPackageShareModalComponent' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'WorkPackageShareModalComponent' is defined but never used. Allowed unused vars must match /^_/u.","line":40,"column":3,"nodeType":"Identifier","messageId":"unusedVar","endLine":40,"endColumn":33}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L42 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'OpModalLocalsToken' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'OpModalLocalsToken' is defined but never used. Allowed unused vars must match /^_/u.","line":42,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":42,"endColumn":28}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L42 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'OpModalLocalsToken' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'OpModalLocalsToken' is defined but never used. Allowed unused vars must match /^_/u.","line":42,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":42,"endColumn":28}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L43 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'OpModalLocalsMap' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'OpModalLocalsMap' is defined but never used. Allowed unused vars must match /^_/u.","line":43,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":43,"endColumn":26}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L43 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'OpModalLocalsMap' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'OpModalLocalsMap' is defined but never used. Allowed unused vars must match /^_/u.","line":43,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":43,"endColumn":26}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L44 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'I18nService' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'I18nService' is defined but never used. Allowed unused vars must match /^_/u.","line":44,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":44,"endColumn":21}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L44 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'I18nService' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'I18nService' is defined but never used. Allowed unused vars must match /^_/u.","line":44,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":44,"endColumn":21}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L45 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'PathHelperService' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'PathHelperService' is defined but never used. Allowed unused vars must match /^_/u.","line":45,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":45,"endColumn":27}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L45 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'PathHelperService' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'PathHelperService' is defined but never used. Allowed unused vars must match /^_/u.","line":45,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":45,"endColumn":27}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L46 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'ActionsService' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'ActionsService' is defined but never used. Allowed unused vars must match /^_/u.","line":46,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":46,"endColumn":24}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L46 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'ActionsService' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'ActionsService' is defined but never used. Allowed unused vars must match /^_/u.","line":46,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":46,"endColumn":24}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L47 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'WorkPackageResource' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"no-unused-vars","severity":2,"message":"'WorkPackageResource' is defined but never used. Allowed unused vars must match /^_/u.","line":47,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":47,"endColumn":29}
github-actions / eslint
[eslint] frontend/src/app/shared/components/fields/edit/field-types/progress-edit-field.component.ts#L47 <@typescript-eslint/no-unused-vars>(https://typescript-eslint.io/rules/no-unused-vars)
'WorkPackageResource' is defined but never used. Allowed unused vars must match /^_/u.
Raw output
{"ruleId":"@typescript-eslint/no-unused-vars","severity":2,"message":"'WorkPackageResource' is defined but never used. Allowed unused vars must match /^_/u.","line":47,"column":10,"nodeType":"Identifier","messageId":"unusedVar","endLine":47,"endColumn":29}