rrousselGit / riverpod

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
https://riverpod.dev
MIT License
5.82k stars 888 forks source link

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

Open jxstxn1 opened 1 month ago

jxstxn1 commented 1 month ago

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