chore: riverpod lints from dcm (#30446)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2026-08-05 01:26:49 +05:30 committed by GitHub
parent 00e813ba84
commit 8450687db7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 118 additions and 41 deletions

View file

@ -110,3 +110,9 @@ dart_code_metrics:
- prefer-const-border-radius
- prefer-declaring-const-constructor
- prefer-switch-expression
# Riverpod
- avoid-ref-watch-outside-build
- prefer-immutable-provider-arguments
- use-ref-and-state-synchronously
- use-ref-read-synchronously