Rename 'Work package settings' page as 'General' #16550
Merged
GitHub Actions / eslint
succeeded
Sep 13, 2024 in 0s
reviewdog [eslint] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (4282)
src/app/core/apiv3/api-v3.service.spec.ts|| Parsing error: ESLint was configured to run on <tsconfigRootDir>/src/app/core/apiv3/api-v3.service.spec.ts
using parserOptions.project
: /src/tsconfig.app.json
However, that TSConfig does not include this file. Either:
- Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
src/app/core/apiv3/cache/cachable-apiv3-collection.ts|65 col 24| Unsafe argument of typeany
assigned to a parameter of typeT
.
src/app/core/apiv3/cache/cachable-apiv3-collection.ts|65 col 36| Unexpected any. Specify a different type.
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 thevoid
operator.
src/app/core/apiv3/cache/cachable-apiv3-resource.ts|133 col 5| Unsafe return of anany
typed value.
src/app/core/apiv3/cache/cachable-apiv3-resource.ts|138 col 31| Unsafe member access .schema on anany
value.
src/app/core/apiv3/cache/cachable-apiv3-resource.ts|140 col 33| Unsafe argument of typeany
assigned to a parameter of typestring
.
src/app/core/apiv3/cache/cachable-apiv3-resource.ts|140 col 49| Unsafe member access .schema on anany
value.
src/app/core/apiv3/cache/cachable-apiv3-resource.ts|148 col 12| Unexpected any. Specify a different type.
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 thevoid
operator.
src/app/core/apiv3/cache/state-cache.service.ts|36 col 3| 'forkJoin' is defined but never used. Allowed unused vars must match /^/u.
src/app/core/apiv3/cache/state-cache.service.ts|36 col 3| 'forkJoin' is defined but never used. Allowed unused vars must match /^/u.
src/app/core/apiv3/cache/state-cache.service.ts|116 col 43| Unsafe argument of typeany
assigned to a parameter of typeT
.
src/app/core/apiv3/cache/state-cache.service.ts|116 col 55| Unexpected any. Specify a different type.
src/app/core/apiv3/endpoints/backups/apiv3-backups-path.ts|36 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/backups/apiv3-backups-path.ts|37 col 29| Expected newline before ')'.
src/app/core/apiv3/endpoints/capabilities/apiv3-capabilities-paths.ts|36 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/capabilities/apiv3-capabilities-paths.ts|37 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/configuration/apiv3-configuration-path.ts|38 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/configuration/apiv3-configuration-path.ts|39 col 29| Expected newline before ')'.
src/app/core/apiv3/endpoints/configuration/apiv3-configuration-path.ts|48 col 5| Return statement should not contain assignment.
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.
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.
src/app/core/apiv3/endpoints/days/api-v3-days-paths.ts|41 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/days/api-v3-days-paths.ts|42 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|43 col 53| 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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|46 col 13| Unsafe assignment of anany
value.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|50 col 19| Unsafe member access .widgets on anany
value.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 9| Unsafe assignment of anany
value.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 17| Unsafe member access .widgets on anany
value.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 27| Unsafe call of anany
typed value.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|51 col 40| Unsafe member access .map on anany
value.
src/app/core/apiv3/endpoints/grids/apiv3-grid-form.ts|62 col 7| Unsafe return of anany
typed value.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/endpoints/grids/apiv3-grids-paths.ts|46 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/grids/apiv3-grids-paths.ts|47 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/groups/apiv3-groups-paths.ts|44 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/groups/apiv3-groups-paths.ts|45 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/help_texts/apiv3-help-texts-paths.ts|37 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/help_texts/apiv3-help-texts-paths.ts|38 col 30| Expected newline before ')'.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/endpoints/memberships/apiv3-memberships-paths.ts|48 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/memberships/apiv3-memberships-paths.ts|49 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/news/apiv3-news-paths.ts|44 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/news/apiv3-news-paths.ts|45 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/placeholder-users/apiv3-placeholder-users-paths.ts|44 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/placeholder-users/apiv3-placeholder-users-paths.ts|45 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/projects/apiv3-project-copy-paths.ts|34 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/projects/apiv3-project-copy-paths.ts|35 col 27| Expected newline before ')'.
src/app/core/apiv3/endpoints/projects/apiv3-projects-paths.ts|47 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/projects/apiv3-projects-paths.ts|48 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/projects/project.cache.ts|40 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/projects/project.cache.ts|41 col 43| Expected newline before ')'.
src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|45 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|46 col 30| Expected newline before ')'.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|118 col 7| Unsafe assignment of anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|133 col 7| Unsafe return of anany
typed value.
src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|133 col 14| Unsafe call of anany
typed value.
src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|135 col 5| Unsafe return of anany
typed value.
src/app/core/apiv3/endpoints/queries/apiv3-queries-paths.ts|135 col 12| Unsafe call of anany
typed value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|49 col 19| Unexpected any. Specify a different type.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|54 col 15| Unsafe member access ._links on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|65 col 52| Unsafe argument of typeany
assigned to a parameter of typeCollectionResource<QueryFilterInstanceSchemaResource>
.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|65 col 84| Unsafe member access .filtersSchemas on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|78 col 138| Unexpected any. Specify a different type.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|82 col 30| Unsafe member access .name on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|83 col 15| Unsafe member access .name on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|87 col 7| Unsafe assignment of anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|87 col 15| Unsafe member access ._links on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|87 col 32| Unsafe member access ._links on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|88 col 15| Unsafe member access ._links on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|98 col 52| Unsafe argument of typeany
assigned to a parameter of typeCollectionResource<QueryFilterInstanceSchemaResource>
.
src/app/core/apiv3/endpoints/queries/apiv3-query-form.ts|98 col 84| Unsafe member access .filtersSchemas on anany
value.
src/app/core/apiv3/endpoints/queries/apiv3-query-order.ts|39 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/queries/apiv3-query-order.ts|41 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/queries/apiv3-query-order.ts|67 col 19| Arrow function should not return assignment.
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.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/endpoints/queries/apiv3-query-paths.ts|67 col 7| Unsafe assignment of anany
value.
src/app/core/apiv3/endpoints/relations/apiv3-relations-paths.ts|40 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/relations/apiv3-relations-paths.ts|41 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|38 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/roles/apiv3-roles-paths.ts|39 col 30| Expected newline before ')'.
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.
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.
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.
src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|38 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/statuses/apiv3-statuses-paths.ts|39 col 30| Expected newline before ')'.
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.
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.
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.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/endpoints/time-entries/apiv3-time-entry-paths.ts|86 col 7| Unsafe return of anany
typed value.
src/app/core/apiv3/endpoints/types/apiv3-types-paths.ts|36 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/types/apiv3-types-paths.ts|37 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/users/apiv3-users-paths.ts|37 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/users/apiv3-users-paths.ts|38 col 30| Expected newline before ')'.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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.
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.
src/app/core/apiv3/endpoints/versions/apiv3-versions-paths.ts|40 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/versions/apiv3-versions-paths.ts|41 col 30| Expected newline before ')'.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|50 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|51 col 30| Expected newline before ')'.
src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|108 col 5| Unsafe return of anany
typed value.
src/app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths.ts|108 col 82| Unexpected any. Specify a different type.
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.
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.
src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts|| Parsing error: ESLint was configured to run on<tsconfigRootDir>/src/app/core/apiv3/endpoints/work_packages/work-package-cache.spec.ts
usingparserOptions.project
: /src/tsconfig.app.json
However, that TSConfig does not include this file. Either: - Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|42 col 14| Expected newline after '('.
src/app/core/apiv3/endpoints/work_packages/work-package.cache.ts|43 col 47| Expected newline before ')'.
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.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/apiv3/openproject-api-v3.module.ts|| Parsing error: ESLint was configured to run on<tsconfigRootDir>/src/app/core/apiv3/openproject-api-v3.module.ts
usingparserOptions.project
: /src/tsconfig.app.json
However, that TSConfig does not include this file. Either: - Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
src/app/core/apiv3/paths/path-resources.ts|1 col 1| File has too many classes (2). Maximum allowed is 1.
src/app/core/apiv3/paths/path-resources.ts|7 col 43| 'SimpleResource' was used before it was defined.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|49 col 14| Expected newline after '('.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|50 col 30| Expected newline before ')'.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|63 col 79| Unsafe argument of typeany
assigned to a parameter of typeModelLinks
.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|114 col 19| Unexpected any. Specify a different type.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|115 col 13| Unsafe member access .options on anany
value.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|120 col 15| Unsafe member access .options on anany
value.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|127 col 13| Unsafe argument of typeany
assigned to a parameter of typeObject
.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|132 col 17| Unsafe argument of typeany
assigned to a parameter of typeGridResource
.
src/app/core/apiv3/virtual/apiv3-boards-paths.ts|132 col 30| Unsafe member access .$source on anany
value.
src/app/core/current-project/current-project.service.spec.ts|| Parsing error: ESLint was configured to run on<tsconfigRootDir>/src/app/core/current-project/current-project.service.spec.ts
usingparserOptions.project
: /src/tsconfig.app.json
However, that TSConfig does not include this file. Either: - Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
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.
src/app/core/current-user/current-user.service.ts|69 col 24| Default parameters should be last.
src/app/core/datetime/timezone.service.spec.ts|| Parsing error: ESLint was configured to run on<tsconfigRootDir>/src/app/core/datetime/timezone.service.spec.ts
usingparserOptions.project
: /src/tsconfig.app.json
However, that TSConfig does not include this file. Either: - Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
src/app/core/datetime/timezone.service.ts|162 col 32| Unexpected any. Specify a different type.
src/app/core/datetime/timezone.service.ts|163 col 27| Unsafe argument of typeany
assigned to a parameter of typestring | Date
.
src/app/core/datetime/timezone.service.ts|166 col 40| Unexpected any. Specify a different type.
src/app/core/datetime/timezone.service.ts|167 col 5| Unsafe return of anany
typed value.
src/app/core/datetime/timezone.service.ts|167 col 12| Unsafe call of anany
typed value.
src/app/core/datetime/timezone.service.ts|167 col 21| Unsafe member access .format on anany
value.
src/app/core/datetime/timezone.service.ts|170 col 30| Unexpected any. Specify a different type.
src/app/core/datetime/timezone.service.ts|171 col 25| Unsafe argument of typeany
assigned to a parameter of typestring
.
src/app/core/enterprise/banners.service.ts|59 col 5| Expected an assignment or function call and instead saw an expression.
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.
src/app/core/forms/forms.service.spec.ts|| Parsing error: ESLint was configured to run on<tsconfigRootDir>/src/app/core/forms/forms.service.spec.ts
usingparserOptions.project
: /src/tsconfig.app.json
However, that TSConfig does not include this file. Either: - Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
src/app/core/forms/forms.service.ts|15 col 151| Unexpected any. Specify a different type.
src/app/core/forms/forms.service.ts|16 col 52| Unsafe argument of typeany
assigned to a parameter of typeIOPFormModel
.
src/app/core/forms/forms.service.ts|21 col 7| Unexpected newline between object and [ of property access.
src/app/core/forms/forms.service.ts|30 col 9| Unsafe argument of typeOperatorFunction<any, any>
assigned to a parameter of typeOperatorFunction<Object, any>
.
src/app/core/forms/forms.service.ts|31 col 28| Expected '===' and instead saw '=='.
src/app/core/forms/forms.service.ts|35 col 17| Expected an error object to be thrown.
src/app/core/forms/forms.service.ts|40 col 103| Unexpected any. Specify a different type.
src/app/core/forms/forms.service.ts|41 col 52| Unsafe argument of typeany
assigned to a parameter of typeIOPFormModel
.
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>
.
src/app/core/forms/forms.service.ts|53 col 96| Unsafe member access .validationErrors on anany
value.
src/app/core/forms/forms.service.ts|66 col 19| 'linksModel' is never reassigned. Use 'const' instead.
src/app/core/forms/forms.service.ts|68 col 63| Unsafe member access .type on anany
value.
src/app/core/forms/forms.service.ts|68 col 98| Unsafe member access .location on anany
value.
src/app/core/forms/forms.service.ts|70 col 34| 'keyToRemove' is assigned a value but never used. Allowed unused vars must match /^/u.
src/app/core/forms/forms.service.ts|70 col 34| 'keyToRemove' is assigned a value but never used. Allowed unused vars must match /^/u.
src/app/core/forms/forms.service.ts|73 col 29| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|79 col 9| Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free.
src/app/core/forms/forms.service.ts|80 col 15| Unsafe assignment of an error typed value.
src/app/core/forms/forms.service.ts|84 col 55| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|84 col 78| Unsafe member access .href on anany
value.
src/app/core/forms/forms.service.ts|84 col 103| Unsafe member access ._links on anany
value.
src/app/core/forms/forms.service.ts|85 col 15| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|85 col 36| Unsafe member access .href on anerror
typed value.
src/app/core/forms/forms.service.ts|85 col 59| Unsafe member access ._links on anerror
typed value.
src/app/core/forms/forms.service.ts|109 col 44| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|121 col 11| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|121 col 49| Unsafe member access ._embedded on anany
value.
src/app/core/forms/forms.service.ts|122 col 23| Unsafe member access ._embedded on anany
value.
src/app/core/forms/forms.service.ts|129 col 25| Unexpected any. Specify a different type.
src/app/core/forms/forms.service.ts|130 col 40| Unsafe member access .key on anany
value.
src/app/core/forms/forms.service.ts|130 col 76| Unsafe member access .key on anany
value.
src/app/core/forms/forms.service.ts|132 col 37| Unsafe member access .key on anany
value.
src/app/core/forms/forms.service.ts|132 col 45| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|132 col 58| Unsafe member access .message on anany
value.
src/app/core/forms/forms.service.ts|169 col 68| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|170 col 26| Unsafe assignment of anany
value.
src/app/core/forms/forms.service.ts|181 col 25| Unexpected any. Specify a different type.
src/app/core/forms/forms.service.ts|182 col 44| Unsafe argument of typeany
assigned to a parameter of typestring | null | undefined
.
src/app/core/forms/typings.d.ts|3 col 13| 'IOPFormSettings' was used before it was defined.
src/app/core/forms/typings.d.ts|5 col 10| 'IOPApiCall' was used before it was defined.
src/app/core/forms/typings.d.ts|6 col 14| 'IOPApiCall' was used before it was defined.
src/app/core/forms/typings.d.ts|7 col 12| 'IOPApiCall' was used before it was defined.
src/app/core/forms/typings.d.ts|8 col 20| 'IOPApiCall' was used before it was defined.
src/app/core/forms/typings.d.ts|13 col 11| 'IOPFormModel' was used before it was defined.
src/app/core/forms/typings.d.ts|14 col 10| 'IOPFormSchema' was used before it was defined.
src/app/core/forms/typings.d.ts|15 col 21| 'IOPValidationErrors' was used before it was defined.
src/app/core/forms/typings.d.ts|16 col 30| Unexpected any. Specify a different type.
src/app/core/forms/typings.d.ts|22 col 21| 'IOPAttributeGroup' was used before it was defined.
src/app/core/forms/typings.d.ts|24 col 21| 'IOPFieldSchema' was used before it was defined.
src/app/core/forms/typings.d.ts|24 col 38| Unexpected any. Specify a different type.
src/app/core/forms/typings.d.ts|24 col 38| 'any' overrides all other types in this union type.
src/app/core/forms/typings.d.ts|33 col 34| 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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/forms/typings.d.ts|33 col 43| 'any' overrides all other types in this union type.
src/app/core/forms/typings.d.ts|35 col 18| 'IOPFieldModel' was used before it was defined.
src/app/core/forms/typings.d.ts|35 col 34| 'IOPFieldModel' was used before it was defined.
src/app/core/forms/typings.d.ts|38 col 32| 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. - If you really want a type meaning "any non-nullish value", you probably want
NonNullable<unknown>
instead.
src/app/core/forms/typings.d.ts|38 col 39| 'any' overrides all other types in this union type.
src/app/core/forms/typings.d.ts|43 col 8| 'OPFieldType' was used before it was defined.
src/app/core/forms/typings.d.ts|45 col 18| Unexpected any. Specify a different type.
src/app/core/forms/typings.d.ts|54 col 18| Unexpected any. Specify a different type.
src/app/core/forms/typings.d.ts|57 col 20| 'IOPApiCall' was used before it was defined.
src/app/core/forms/typings.d.ts|57 col 33| 'IOPAllowedValue' was used before it was defined.
src/app/core/forms/typings.d.ts|60 col 20| 'IOPApiCall' was used before it was defined.
src/app/core/forms/typings.d.ts|68 col 41| 'HalSource' was used before it was defined.
src/app/core/forms/typings.d.ts|68 col 51| Missing space before opening brace.
src/app/core/forms/typings.d.ts|73 col 35| 'any' overrides all other types in this union type.
src/app/core/forms/typings.d.ts|91 col 5| 'unknown' overrides all other types in this union type.
src/app/core/forms/typings.d.ts|101 col 10| 'any' overrides all other types in this union type.
src/app/core/forms/typings.d.ts|114 col 13| 'IOPFormErrorDetails' was used before it was defined.
src/app/core/forms/typings.d.ts|123 col 13| 'IOPFormErrorDetails' was used before it was defined.
src/app/core/forms/typings.d.ts|123 col 35| 'IOPFormErrors' was used before it was defined.
... (Too many findings. Dropped some findings)
Loading