equatable_lint 0.3.0 copy "equatable_lint: ^0.3.0" to clipboard
equatable_lint: ^0.3.0 copied to clipboard

This is a set of rules to make classes using Equatable more maintainable. We make sure here that every fields in an Equatable class is linked to the Equatable props getter.

equatable_lint #


This package used the custom_lint package


Setup #


  • In your pubspec.yaml, add these dev_dependencies :
dev_dependencies:
  custom_lint:
  equatable_lint:
  • In your analysis_options.yaml, add this plugin :
analyzer:
  plugins:
    - custom_lint
  • Run flutter pub get or dart pub get in your package

  • Possibly restart your IDE


Setup CI #


flutter analyse or dart analyse don't use this custom rule when checking your code

If you want to analyse your code with this rule in your CI, add a step that run flutter pub run custom_lint or dart run custom_lint


👉 About Bam #

We are a 100 people company developing and designing multiplatform applications with React Native and Flutter using the Lean & Agile methodology. To get more information on the solutions that would suit your needs, feel free to get in touch by email or through contact form!

We will always answer you with pleasure 😁

5
likes
140
pub points
51%
popularity

Publisher

verified publisherbam.tech

This is a set of rules to make classes using Equatable more maintainable. We make sure here that every fields in an Equatable class is linked to the Equatable props getter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, analyzer_plugin, collection, custom_lint_builder, equatable, source_gen

More

Packages that depend on equatable_lint