riverpod_lint 1.1.7 copy "riverpod_lint: ^1.1.7" to clipboard
riverpod_lint: ^1.1.7 copied to clipboard

Riverpod_lint is a developper tool for users of Riverpod, designed to help stop common issue and simplify repetetive tasks.

1.1.7 - 2023-04-06 #

  • Fix typo in the name of the lint avoid_manual_providers_as_generated_provider_dependency (thanks to @mafreud)

1.1.6 - 2023-03-13 #

  • No-longer throw "Bad state: Too many elements"
  • Fixed "type 'SimpleIdentifierImpl' is not a subtype of type 'PropertyAccess' in type cast"

1.1.5 - 2023-03-10 #

  • riverpod_analyzer_utils upgraded to 0.1.4

1.1.4 - 2023-03-09 #

Upgrade dependencies

1.1.3 - 2023-03-09 #

  • Upgrade dependencies
  • riverpod_analyzer_utils upgraded to 0.1.2

1.1.2 - 2023-03-01 #

Fix quick-fix for provider_dependencies

1.1.1 #

  • Fix false positive with stateless_ref lint on scoped providers
  • Fix false positive with provider_dependencies lint on scoped providers

1.1.0 #

  • Fix "convert to ConsumerStatefulWidget" assist on private widget

  • Added provider_dependencies lint. This checks the validity of the @Riverpod(dependencies: ) parameter, warning against missing or extra dependencies. It also contains a quick-fix to automatically update the list of dependencies to match. This lint only works with generated providers.

  • Added avoid_manual_providers_as_generated_provider_dependency lint. This lint warns if a generated provider depends on a non-generated provider, as this would break the provider_dependencies lint.

  • Added scoped_providers_should_specify_dependencies lint. This lint warns if a generated provider is overriden in a scoped ProviderScope/ProviderContainer and does not specifies @Riverpod(dependencies: ...).

  • Added unsupported_provider_value lint. This warns against using riverpod_generator to create a StateNotifier and other unsupported values.

  • Fix exception thrown when the analyzed file has some syntax errors.

  • Fix provider_parameters when applied on Freezed classes

  • Fix exception when riverpod_lint analyzes files before riverpod_generator runs

1.0.1 #

  • Fixed an exception thrown when a file contains fn?.call()
  • Fix generator_class_extends on private classes incorrectly expecting the generated class to be _$_MyClass
  • Fix missing_provider_scope not detecting UncontrolledProviderScope
  • Bump minimum riverpod_analyzer_utils version

1.0.0 #

Initial release

229
likes
0
pub points
97%
popularity

Publisher

unverified uploader

Riverpod_lint is a developper tool for users of Riverpod, designed to help stop common issue and simplify repetetive tasks.

Homepage
Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

github.com

License

unknown (LICENSE)

Dependencies

analyzer, analyzer_plugin, collection, custom_lint_builder, meta, path, riverpod, riverpod_analyzer_utils, source_span, yaml

More

Packages that depend on riverpod_lint