[71069] Use autocompleters in Admin/Backlogs page #21841
reviewdog [eslint] report
reported by reviewdog 🐶
Findings (5)
frontend/src/app/shared/components/autocompleter/op-autocompleter/op-autocompleter.component.ts|339 col 6| This assertion is unnecessary since it does not change the type of the expression.
frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts|108 col 23| Unexpected any. Specify a different type.
frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts|120 col 24| Unsafe return of a value of type any.
frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts|120 col 35| Unsafe member access .id on an any value.
frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts|128 col 40| Unsafe member access .id on an any value.
Filtered Findings (0)
Annotations
github-actions / eslint
[eslint] frontend/src/app/shared/components/autocompleter/op-autocompleter/op-autocompleter.component.ts#L339 <@typescript-eslint/no-unnecessary-type-assertion>(https://typescript-eslint.io/rules/no-unnecessary-type-assertion)
This assertion is unnecessary since it does not change the type of the expression.
Raw output
{"ruleId":"@typescript-eslint/no-unnecessary-type-assertion","severity":2,"message":"This assertion is unnecessary since it does not change the type of the expression.","line":339,"column":6,"nodeType":"TSAsExpression","messageId":"unnecessaryAssertion","endLine":339,"endColumn":42,"fix":{"range":[10728,10735],"text":""}}
github-actions / eslint
[eslint] frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts#L108 <@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":108,"column":23,"nodeType":"TSAnyKeyword","messageId":"unexpectedAny","endLine":108,"endColumn":26,"suggestions":[{"messageId":"suggestUnknown","fix":{"range":[3846,3849],"text":"unknown"},"desc":"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."},{"messageId":"suggestNever","fix":{"range":[3846,3849],"text":"never"},"desc":"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."}]}
github-actions / eslint
[eslint] frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts#L120 <@typescript-eslint/no-unsafe-return>(https://typescript-eslint.io/rules/no-unsafe-return)
Unsafe return of a value of type `any`.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-return","severity":2,"message":"Unsafe return of a value of type `any`.","line":120,"column":24,"nodeType":"MemberExpression","messageId":"unsafeReturn","endLine":120,"endColumn":37}
github-actions / eslint
[eslint] frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts#L120 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)
Unsafe member access .id on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .id on an `any` value.","line":120,"column":35,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":120,"endColumn":37}
github-actions / eslint
[eslint] frontend/src/stimulus/controllers/dynamic/admin/backlogs-settings.controller.ts#L128 <@typescript-eslint/no-unsafe-member-access>(https://typescript-eslint.io/rules/no-unsafe-member-access)
Unsafe member access .id on an `any` value.
Raw output
{"ruleId":"@typescript-eslint/no-unsafe-member-access","severity":2,"message":"Unsafe member access .id on an `any` value.","line":128,"column":40,"nodeType":"Identifier","messageId":"unsafeMemberExpression","endLine":128,"endColumn":42}