feat[Op#23673]: Merge btey/openproject-gitlab-integration
🎉
#41
reviewdog [eslint] report
reported by reviewdog 🐶
Findings (0)
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
.
- 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|91 col 13| Forbidden non-null assertion.
frontend/src/app/core/current-project/current-project.service.ts|92 col 15| Forbidden non-null assertion.
frontend/src/app/core/current-project/current-project.service.ts|93 col 21| 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.
frontend/src/app/core/enterprise/banners.service.ts|62 col 27| Don't useFunction
as a type. TheFunction
type accepts any function-like value.
It provides no type safety when calling the function, which can be a common source of bugs.
It also accepts things like class declarations, which will throw at runtime as they will not be called withnew
.
If you are expecting the function to accept certain arguments, you should explicitly define the function shape.
frontend/src/app/core/forms/forms.service.spec.ts|9 col 7| 'httpClient' is assigned a value but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/forms/forms.service.spec.ts|9 col 7| 'httpClient' is assigned a value but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/forms/forms.service.spec.ts|76 col 5| Do not use "@ts-ignore" because it alters compilation errors.
frontend/src/app/core/forms/forms.service.spec.ts|77 col 11| Unsafe assignment of anany
value.
frontend/src/app/core/forms/forms.service.spec.ts|133 col 5| Do not use "@ts-ignore" because it alters compilation errors.
frontend/src/app/core/forms/forms.service.spec.ts|136 col 12| Forbidden non-null assertion.
frontend/src/app/core/forms/forms.service.spec.ts|137 col 12| Forbidden non-null assertion.
frontend/src/app/core/forms/forms.service.spec.ts|137 col 12| Forbidden non-null assertion.
frontend/src/app/core/forms/forms.service.spec.ts|138 col 12| Forbidden non-null assertion.
frontend/src/app/core/forms/forms.service.spec.ts|138 col 12| Forbidden non-null assertion.
frontend/src/app/core/forms/forms.service.ts|15 col 151| Unexpected any. Specify a different type.
frontend/src/app/core/forms/forms.service.ts|16 col 52| Unsafe argument of typeany
assigned to a parameter of typeIOPFormModel
.
frontend/src/app/core/forms/forms.service.ts|21 col 7| Unexpected newline between object and [ of property access.
frontend/src/app/core/forms/forms.service.ts|30 col 9| Unsafe argument of typeOperatorFunction<any, any>
assigned to a parameter of typeOperatorFunction<Object, any>
.
frontend/src/app/core/forms/forms.service.ts|31 col 28| Expected '===' and instead saw '=='.
frontend/src/app/core/forms/forms.service.ts|35 col 17| Expected an error object to be thrown.
frontend/src/app/core/forms/forms.service.ts|40 col 103| Unexpected any. Specify a different type.
frontend/src/app/core/forms/forms.service.ts|41 col 52| Unsafe argument of typeany
assigned to a parameter of typeIOPFormModel
.
frontend/src/app/core/forms/forms.service.ts|53 col 75| Unsafe argument of typeany
assigned to a parameter of type{ [s: string]: IOPFormError; } | ArrayLike<IOPFormError>
.
frontend/src/app/core/forms/forms.service.ts|53 col 75| Unsafe member access .validationErrors on anany
value.
frontend/src/app/core/forms/forms.service.ts|66 col 19| 'linksModel' is never reassigned. Use 'const' instead.
frontend/src/app/core/forms/forms.service.ts|68 col 36| Unsafe member access .type on anany
value.
frontend/src/app/core/forms/forms.service.ts|68 col 71| Unsafe member access .location on anany
value.
frontend/src/app/core/forms/forms.service.ts|70 col 34| 'keyToRemove' is assigned a value but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/forms/forms.service.ts|70 col 34| 'keyToRemove' is assigned a value but never used. Allowed unused vars must match /^/u.
frontend/src/app/core/forms/forms.service.ts|73 col 29| Unsafe assignment of anany
value.
frontend/src/app/core/forms/forms.service.ts|83 col 55| Unsafe assignment of anany
value.
frontend/src/app/core/forms/forms.service.ts|83 col 86| Unsafe member access .self on anany
value.
frontend/src/app/core/forms/forms.service.ts|84 col 15| Unsafe assignment of anany
value.
frontend/src/app/core/forms/forms.service.ts|84 col 44| Unsafe member access .self on anany
value.
frontend/src/app/core/forms/forms.service.ts|108 col 44| Unsafe assignment of anany
value.