fast_equatable_lint 2.0.0 copy "fast_equatable_lint: ^2.0.0" to clipboard
fast_equatable_lint: ^2.0.0 copied to clipboard

This is a set of rules to make classes using FastEquatable more maintainable. We validate that every fields in an FastEquatable class is linked to the hashParameters getter.

2.0.0 #

  • Support analyzer ^13.0.0 and analyzer_plugin ^0.14.0
  • Breaking: Requires a Dart SDK whose analysis server uses analysis_server_plugin ^0.3.8 or later. Version 1.0.0 cannot be resolved by these SDKs and fails to load with a version solving error
  • Replace removed FieldElement.isSynthetic with isOriginDeclaration
  • Read class members through the new ClassDeclaration.body node
  • Bump the fast_equatable constraint to ^2.0.0. This does not constrain your app: the rules detect FastEquatable by library URI, so projects on fast_equatable 1.x are linted unchanged

1.0.0 #

  • Migrated from custom_lint to analysis_server_plugin
  • Requires analyzer ^9.0.0

0.5.0 #

  • Update constraints

0.4.2 #

  • Downgrade custom_lint_builder for extended compatibility

0.4.1 #

  • Downgrade source_gen for extended compatibility

0.4.0 #

  • Support new analyzer
  • Upgraded deps

0.3.2 #

  • Upgraded analyzer_plugin

0.3.1 #

  • Upgraded analyzer
  • Upgraded analyzer_plugin
  • Upgraded custom_lint_builder
  • Upgraded source_gen

0.3.0 #

  • Migrated to fast_equatable
  • Upgraded deps

0.2.1 #

  • Add "add every missing fields" dart fix for "missing_field_in_equatable_props" lint
  • Add "call super in overrided equatable props" dart fix for "always_call_super_props_when_overriding_equatable_props" lint

0.2.0 #

  • Upgrade custom lint to 0.2.12

0.1.5 #

  • Upgrade custom lint to 0.1.1

0.1.4 #

  • Add fix to show multiple lints when there are multiple fields

0.1.3 #

  • Change package ownership

0.1.2 #

  • Fix bug that count static fields in create_equatable_props_with_every_fields lint

0.1.1 #

  • Fix bug that count getter and setter in create_equatable_props_with_every_fields lint

0.1.0 #

  • Initial version.
1
likes
150
points
163
downloads

Documentation

API reference

Publisher

verified publisherfabi.online

Weekly Downloads

This is a set of rules to make classes using FastEquatable more maintainable. We validate that every fields in an FastEquatable class is linked to the hashParameters getter.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, collection, fast_equatable

More

Packages that depend on fast_equatable_lint