Skip to main content

freezed_lint 0.1.0 copy "freezed_lint: ^0.1.0" to clipboard
freezed_lint: ^0.1.0 copied to clipboard

Linter rules for freezed.

Lints for freezed. #

Written as an analyzer plugin to help with miss-typed/configured freezed classes.

How to use #

Analyzer plugins require Dart 3.10 (Flutter 3.38) or later.

Enable freezed_lint as a plugin in your analysis_options.yaml:

plugins:
  freezed_lint: ^0.1.0

There is no need to add freezed_lint to your pubspec.yaml.

You might need to restart your IDE for it to pick up the new lints. The lints are reported by both your IDE and dart analyze/flutter analyze.

To silence a lint, prefix its name with freezed_lint/:

// ignore: freezed_lint/freezed_missing_mixin

List of supported lint #

  • freezed_missing_mixin ✅
  • freezed_missing_private_empty_constructor ✅
8
likes
150
points
5.38k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Linter rules for freezed.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin

More

Packages that depend on freezed_lint