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

riverpod_lint: warn if name in a provider is missing #3469

Open
jxstxn1 opened this issue Apr 3, 2024 · 0 comments
Open

riverpod_lint: warn if name in a provider is missing #3469

jxstxn1 opened this issue Apr 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request linter

Comments

@jxstxn1
Copy link

jxstxn1 commented Apr 3, 2024

Is your feature request related to a problem? Please describe.
I try to use the name: property of a provider to simplify debugging. Unfortunately, I often forget to add the name: property or oversee that it is missing in Pull Requests, which usually ends in more Pull Requests to add the name property.

Describe the solution you'd like
It would be great to have a lint rule which warns me if I forgot to use the name property.

Describe alternatives you've considered
In the long term, migrating to Riverpod generation is an option

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

No branches or pull requests

2 participants