Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: check injectable decorator #34

Open
Mnigos opened this issue Aug 30, 2024 · 1 comment
Open

Feat: check injectable decorator #34

Mnigos opened this issue Aug 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Mnigos
Copy link

Mnigos commented Aug 30, 2024

Description

This role will have two use cases: warning if unnecessary @Injectable decorator was applied, and another warning if something is injecting into the class, but @Injectable decorator was not applied.

Acceptance Criteria

I think I covered everything in description.

@Mnigos Mnigos added the enhancement New feature or request label Aug 30, 2024
@Mnigos
Copy link
Author

Mnigos commented Aug 30, 2024

Another useful features request related with dependency injection is that in @typescript-eslint/consistent-type-imports import type when imported class is using for dependency injection and causes errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant