Skip to content

Create FullView::CreateComponent for WorkPackages which is now routed…

Sign in for the full log view
GitHub Actions / eslint failed Oct 15, 2024 in 0s

reviewdog [eslint] report

reported by reviewdog 🐶

Findings (27)

frontend/src/app/core/loading-indicator/loading-indicator.service.ts|29 col 1| File has too many classes (2). Maximum allowed is 1.
frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts|46 col 11| Output bindings should not be aliased (https://angular.io/guide/styleguide#style-05-13)
frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts|46 col 11| Output bindings, including aliases, should not be named "on", nor prefixed with it (https://angular.io/guide/styleguide#style-05-16)
frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts|46 col 28| Output bindings, including aliases, should not be named "on", nor prefixed with it (https://angular.io/guide/styleguide#style-05-16)
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|65 col 3| Unsafe assignment of an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|65 col 59| Unsafe member access .baseRoute on an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|76 col 31| Unexpected any. Specify a different type.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|124 col 35| Unsafe member access .projectPath on an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|124 col 91| Unsafe argument of type any assigned to a parameter of type string.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|124 col 108| Unsafe member access .projectPath on an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|197 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 the void operator.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|199 col 37| Unsafe member access .projectPath on an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|199 col 91| Unsafe argument of type any assigned to a parameter of type string.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|199 col 108| Unsafe member access .projectPath on an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|206 col 59| Unsafe argument of type any assigned to a parameter of type string.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|206 col 70| Unsafe member access .identifier on an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|213 col 69| Unsafe argument of type any assigned to a parameter of type string.
frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts|213 col 80| Unsafe member access .identifier on an any value.
frontend/src/app/features/work-packages/components/wp-new/wp-new-full-view.component.ts|39 col 54| Unsafe member access .successState on an any value.
frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts|53 col 3| Use @HostBinding or @HostListener rather than the host metadata property (https://angular.io/styleguide#style-06-03)
frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts|84 col 9| 'link' is never reassigned. Use 'const' instead.
frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts|124 col 4| Block must not be padded by blank lines.
frontend/src/app/features/work-packages/services/work-package-authorization.service.ts|85 col 48| Unsafe argument of type any assigned to a parameter of type string | null.
frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-single-context-menu.ts|66 col 73| Unsafe argument of type any assigned to a parameter of type string | null.
frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-single-context-menu.ts|66 col 98| Unsafe member access .identifier on an any value.
frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-view-context-menu.directive.ts|156 col 66| Unsafe argument of type any assigned to a parameter of type string | null.
frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-view-context-menu.directive.ts|156 col 86| Unsafe member access .id on an any value.

Filtered Findings (0)

Annotations

Check failure on line 140 in frontend/src/app/core/loading-indicator/loading-indicator.service.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/core/loading-indicator/loading-indicator.service.ts#L29-L140 <max-classes-per-file>(https://eslint.org/docs/latest/rules/max-classes-per-file)

File has too many classes (2). Maximum allowed is 1.
Raw output
{"ruleId":"max-classes-per-file","severity":2,"message":"File has too many classes (2). Maximum allowed is 1.","line":29,"column":1,"nodeType":"Program","messageId":"maximumExceeded","endLine":140,"endColumn":1}

Check failure on line 46 in frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts#L46 <@angular-eslint/no-output-rename>(https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-output-rename.md)

Output bindings should not be aliased (https://angular.io/guide/styleguide#style-05-13)
Raw output
{"ruleId":"@angular-eslint/no-output-rename","severity":2,"message":"Output bindings should not be aliased (https://angular.io/guide/styleguide#style-05-13)","line":46,"column":11,"nodeType":"Literal","messageId":"noOutputRename","endLine":46,"endColumn":19,"fix":{"range":[1822,1830],"text":""}}

Check failure on line 46 in frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts#L46 <@angular-eslint/no-output-on-prefix>(https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-output-on-prefix.md)

Output bindings, including aliases, should not be named "on", nor prefixed with it (https://angular.io/guide/styleguide#style-05-16)
Raw output
{"ruleId":"@angular-eslint/no-output-on-prefix","severity":2,"message":"Output bindings, including aliases, should not be named \"on\", nor prefixed with it (https://angular.io/guide/styleguide#style-05-16)","line":46,"column":11,"nodeType":"Literal","messageId":"noOutputOnPrefix","endLine":46,"endColumn":19}

Check failure on line 46 in frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.component.ts#L46 <@angular-eslint/no-output-on-prefix>(https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-output-on-prefix.md)

Output bindings, including aliases, should not be named "on", nor prefixed with it (https://angular.io/guide/styleguide#style-05-16)
Raw output
{"ruleId":"@angular-eslint/no-output-on-prefix","severity":2,"message":"Output bindings, including aliases, should not be named \"on\", nor prefixed with it (https://angular.io/guide/styleguide#style-05-16)","line":46,"column":28,"nodeType":"Identifier","messageId":"noOutputOnPrefix","endLine":46,"endColumn":34}

Check failure on line 65 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L65 <@typescript-eslint/no-unsafe-assignment>(https://typescript-eslint.io/rules/no-unsafe-assignment)

Unsafe assignment of an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-assignment","severity":2,"message":"Unsafe assignment of an `any` value.","line":65,"column":3,"nodeType":"PropertyDefinition","messageId":"anyAssignment","endLine":65,"endColumn":69}

Check failure on line 65 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L65 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .baseRoute on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .baseRoute on an `any` value.","line":65,"column":59,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":65,"endColumn":68}

Check failure on line 76 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L76 <@typescript-eslint/no-explicit-any>(https://typescript-eslint.io/rules/no-explicit-any)

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

Check failure on line 124 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L124 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .projectPath on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .projectPath on an `any` value.","line":124,"column":35,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":124,"endColumn":46}

Check failure on line 124 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L124 <@typescript-eslint/no-unsafe-argument>(https://typescript-eslint.io/rules/no-unsafe-argument)

Unsafe argument of type `any` assigned to a parameter of type `string`.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-argument","severity":2,"message":"Unsafe argument of type `any` assigned to a parameter of type `string`.","line":124,"column":91,"nodeType":"MemberExpression","messageId":"unsafeArgument","endLine":124,"endColumn":119}

Check failure on line 124 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L124 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .projectPath on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .projectPath on an `any` value.","line":124,"column":108,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":124,"endColumn":119}

Check failure on line 197 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L197 <@typescript-eslint/no-floating-promises>(https://typescript-eslint.io/rules/no-floating-promises)

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.
Raw output
{"ruleId":"@typescript-eslint/no-floating-promises","severity":2,"message":"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.","line":197,"column":7,"nodeType":"ExpressionStatement","messageId":"floatingVoid","endLine":197,"endColumn":60,"suggestions":[{"messageId":"floatingFixVoid","fix":{"range":[7453,7453],"text":"void "},"desc":"Add void operator to ignore."}]}

Check failure on line 199 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L199 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .projectPath on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .projectPath on an `any` value.","line":199,"column":37,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":199,"endColumn":48}

Check failure on line 199 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L199 <@typescript-eslint/no-unsafe-argument>(https://typescript-eslint.io/rules/no-unsafe-argument)

Unsafe argument of type `any` assigned to a parameter of type `string`.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-argument","severity":2,"message":"Unsafe argument of type `any` assigned to a parameter of type `string`.","line":199,"column":91,"nodeType":"MemberExpression","messageId":"unsafeArgument","endLine":199,"endColumn":119}

Check failure on line 199 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L199 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .projectPath on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .projectPath on an `any` value.","line":199,"column":108,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":199,"endColumn":119}

Check failure on line 206 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L206 <@typescript-eslint/no-unsafe-argument>(https://typescript-eslint.io/rules/no-unsafe-argument)

Unsafe argument of type `any` assigned to a parameter of type `string`.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-argument","severity":2,"message":"Unsafe argument of type `any` assigned to a parameter of type `string`.","line":206,"column":59,"nodeType":"MemberExpression","messageId":"unsafeArgument","endLine":206,"endColumn":80}

Check failure on line 206 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L206 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .identifier on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .identifier on an `any` value.","line":206,"column":70,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":206,"endColumn":80}

Check failure on line 213 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L213 <@typescript-eslint/no-unsafe-argument>(https://typescript-eslint.io/rules/no-unsafe-argument)

Unsafe argument of type `any` assigned to a parameter of type `string`.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-argument","severity":2,"message":"Unsafe argument of type `any` assigned to a parameter of type `string`.","line":213,"column":69,"nodeType":"MemberExpression","messageId":"unsafeArgument","endLine":213,"endColumn":90}

Check failure on line 213 in frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-create.component.ts#L213 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .identifier on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .identifier on an `any` value.","line":213,"column":80,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":213,"endColumn":90}

Check failure on line 39 in frontend/src/app/features/work-packages/components/wp-new/wp-new-full-view.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/components/wp-new/wp-new-full-view.component.ts#L39 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .successState on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .successState on an `any` value.","line":39,"column":54,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":39,"endColumn":66}

Check failure on line 53 in frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts#L53 <@angular-eslint/no-host-metadata-property>(https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-host-metadata-property.md)

Use @HostBinding or @HostListener rather than the `host` metadata property (https://angular.io/styleguide#style-06-03)
Raw output
{"ruleId":"@angular-eslint/no-host-metadata-property","severity":2,"message":"Use @HostBinding or @HostListener rather than the `host` metadata property (https://angular.io/styleguide#style-06-03)","line":53,"column":3,"nodeType":"Property","messageId":"noHostMetadataProperty","endLine":53,"endColumn":99}

Check failure on line 84 in frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts#L84 <prefer-const>(https://eslint.org/docs/latest/rules/prefer-const)

'link' is never reassigned. Use 'const' instead.
Raw output
{"ruleId":"prefer-const","severity":2,"message":"'link' is never reassigned. Use 'const' instead.","line":84,"column":9,"nodeType":"Identifier","messageId":"useConst","endLine":84,"endColumn":13,"fix":{"range":[3941,4059],"text":"const link = this.pathHelper.workPackagePrimerDetailsPath(this.currentProject.identifier, workPackageId, tabIdentifier);"}}

Check failure on line 126 in frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/routing/wp-list-view/wp-primerized-list-view.component.ts#L124-L126 <padded-blocks>(https://eslint.org/docs/latest/rules/padded-blocks)

Block must not be padded by blank lines.
Raw output
{"ruleId":"padded-blocks","severity":2,"message":"Block must not be padded by blank lines.","line":124,"column":4,"nodeType":"ClassBody","messageId":"neverPadBlock","endLine":126,"endColumn":1,"fix":{"range":[5386,5388],"text":"\n"}}

Check failure on line 85 in frontend/src/app/features/work-packages/services/work-package-authorization.service.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/features/work-packages/services/work-package-authorization.service.ts#L85 <@typescript-eslint/no-unsafe-argument>(https://typescript-eslint.io/rules/no-unsafe-argument)

Unsafe argument of type `any` assigned to a parameter of type `string | null`.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-argument","severity":2,"message":"Unsafe argument of type `any` assigned to a parameter of type `string | null`.","line":85,"column":48,"nodeType":"MemberExpression","messageId":"unsafeArgument","endLine":85,"endColumn":71}

Check failure on line 66 in frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-single-context-menu.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-single-context-menu.ts#L66 <@typescript-eslint/no-unsafe-argument>(https://typescript-eslint.io/rules/no-unsafe-argument)

Unsafe argument of type `any` assigned to a parameter of type `string | null`.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-argument","severity":2,"message":"Unsafe argument of type `any` assigned to a parameter of type `string | null`.","line":66,"column":73,"nodeType":"MemberExpression","messageId":"unsafeArgument","endLine":66,"endColumn":108}

Check failure on line 66 in frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-single-context-menu.ts

See this annotation in the file changed.

@github-actions github-actions / eslint

[eslint] frontend/src/app/shared/components/op-context-menu/wp-context-menu/wp-single-context-menu.ts#L66 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)

Unsafe member access .identifier on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .identifier on an `any` value.","line":66,"column":98,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":66,"endColumn":108}