reviewdog [eslint] report
reported by reviewdog 🐶
Findings (2)
frontend/src/app/core/main-menu/main-menu-toggle.service.ts|81 col 10| Angular will not invoke the ngOnInit
lifecycle method within @Injectable()
classes
frontend/src/app/core/main-menu/main-menu-toggle.service.ts|150 col 20| Unexpected space after the ':'.
Filtered Findings (0)
Annotations
Check failure on line 81 in frontend/src/app/core/main-menu/main-menu-toggle.service.ts
github-actions / eslint
[eslint] frontend/src/app/core/main-menu/main-menu-toggle.service.ts#L81 <@angular-eslint/contextual-lifecycle>(https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/contextual-lifecycle.md)
Angular will not invoke the `ngOnInit` lifecycle method within `@Injectable()` classes
Raw output
{"ruleId":"@angular-eslint/contextual-lifecycle","severity":2,"message":"Angular will not invoke the `ngOnInit` lifecycle method within `@Injectable()` classes","line":81,"column":10,"nodeType":"Identifier","messageId":"contextualLifecycle","endLine":81,"endColumn":18}
Check failure on line 150 in frontend/src/app/core/main-menu/main-menu-toggle.service.ts
github-actions / eslint
[eslint] frontend/src/app/core/main-menu/main-menu-toggle.service.ts#L150 <@typescript-eslint/type-annotation-spacing>(https://typescript-eslint.io/rules/type-annotation-spacing)
Unexpected space after the ':'.
Raw output
{"ruleId":"@typescript-eslint/type-annotation-spacing","severity":2,"message":"Unexpected space after the ':'.","line":150,"column":20,"nodeType":"Punctuator","messageId":"unexpectedSpaceAfter","endLine":150,"endColumn":21,"fix":{"range":[4928,4929],"text":""}}