freezed_lint 0.0.1-dev copy "freezed_lint: ^0.0.1-dev" to clipboard
freezed_lint: ^0.0.1-dev copied to clipboard

Linter rules for freezed.

Lints for freezed. #

Written with custom_lint to help with miss-typed/configured freezed classes.

How to use #

Add freezed_lint and custom_lint to your projects pubspec.yaml.

flutter pub add --dev custom_lint
flutter pub add --dev freezed_lint

And add custom_lint as a plugin in the analysis_options.yaml

analyzer:
  plugins:
    - custom_lint

You might need to restart your IDE for it to pick up the new lints

List of supported lint #

  • freezed_missing_mixin
  • freezed_missing_private_empty_constructor
1
likes
0
points
1.38k
downloads

Publisher

unverified uploader

Weekly Downloads

Linter rules for freezed.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, analyzer_plugin, custom_lint_builder, freezed_annotation

More

Packages that depend on freezed_lint