NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1764 most downloaded on pub.dev
Robust and high-quality lint rules used at LeanCode.
Last release 1 months ago
18 Aug 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 52 of 54 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
59 releases · first in 2021
One column per quarter.
See changelog on pub.dev
See changelog on pub.dev
avoid_context_read_in_build to exempt BuildContext-taking closures that don't return a Widget (e.g. a provider's create), since they run once rather than on every rebuild.missing_equatable_props now requires fields declared by a primary constructor's declaring parameters to be listed in props, and recognizes super.props as needed when the superclass declares its fields in a primary constructor.constructor_parameters_and_fields_should_have_the_same_order now treats fields declared by a primary constructor as coming before the fields declared in the class body.avoid_build_context_in_blocs now reports BuildContext parameters declared in a Bloc/Cubit's primary constructor.prefer_abstract_final_class now recognizes a private ._() primary constructor as an instantiation guard, and its fix removes it from the class header.final int x or a super.x parameter) instead of always producing this.-prefixed parameters.See changelog on pub.dev
prefer_equatable_mixin to suggest mixing in Equatable directly when the linted package depends on equatable 2.1.0 or higher, where EquatableMixin is deprecated.missing_equatable_props to not report a missing super.props when the superclass chain declares no fields, and so its props is empty.See changelog on pub.dev
See changelog on pub.dev
See changelog on pub.dev
Replace usages of members deprecated in the analyzer.
Breaking: Require analyzer ^13.0.0.
analyzer ^13.0.0.Fix false positive in bloc_related_class_naming when using generics.
bloc_related_class_naming when using generics.- Add new custom lints: - `prefer_equatable_mixin` - `bloc_related_class_naming` - `bloc_subclasses_naming` - Enable the following lints: - `always_us
Support Flutter 3.41 and Dart 3.11
Nothing published for this version
Fix: Support entries with spaces in use_design_system_item.
use_design_system_item.Add the example/ directory with default and custom configuration examples.
example/ directory with default and custom configuration examples.Breaking: Migrate from custom_lint to the analysis server plugin. See the README for instructions on how to use the plugin.
analyzer ^10.0.0.catch_parameter_names rule. Defaults remain err and st.src directory.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix: Make prefer_center_over_align not crash in non-Flutter packages.
prefer_center_over_align not crash in non-Flutter packages.Support custom_lint_builder 0.8.1
analyzer 8.1.0custom_lint_builder 0.8.1chore: Refactor lint codes to use built-in positional parameters.
omit_obvious_property_types lint due to conflict with type_annotate_public_apis (Dart SDK issue #60642)Support Flutter 3.32 and Dart 3.8
Support Flutter 3.29 and Dart 3.7
require_trailing_commas lint as it conflicts with Dart 3.7 formatter (https://github.com/dart-lang/sdk/issues/60119).- Support analyzer 7.0.0
analyzer 7.0.0`omit_obvious_local_variable_types`
omit_local_variable_typesSupport Flutter 3.27 and Dart 3.6
- Support custom_lint 0.7.0
custom_lint 0.7.0Remove deprecated division_optimization hint
division_optimization hintAllow usage of a forbidden item in a hide combinator in use_design_system_item
hide combinator in use_design_system_itemBump minimum Dart version to 3.5
avoid_positional_boolean_parameters lintBump minimum Dart version to 3.4
Treat HookWidget as a new hook context. This should remove some false positives in avoid_conditional_hooks and catch new cases in hook_widget_does_not
HookWidget as a new hook context. This should remove some false positives in avoid_conditional_hooks and catch new cases in hook_widget_does_not_use_hooks.Remove deprecated import_of_legacy_library_into_null_safe error code
import_of_legacy_library_into_null_safe error codeTreat HookConsumer and HookConsumerWidget from package:hooks_riverpod as hook widgets
HookConsumer and HookConsumerWidget from package:hooks_riverpod as hook widgetsBump custom_lint_builder dependency to 0.6.2
custom_lint_builder dependency to 0.6.2Disable lints deprecated in Dart 3.3.0
avoid_single_child_in_multi_child_widgets for Column, Row, Flex, Wrap, SliverList, MultiSliver, SliverChildListDelegate, SliverMainAxisGroup, and SliverCrossAxisGroupavoid_conditional_hooks false positive`use_build_context_synchronously`
Change package description on pub.dev and in README
Implement LeanCode custom lints
Remove deprecated rules iterable_contains_unrelated_type and list_remove_unrelated_type
iterable_contains_unrelated_type and list_remove_unrelated_type`deprecated_member_use_from_same_package`
Remove lint `library_private_types_in_public_api` which was accidentally enabled
library_private_types_in_public_api which was accidentally enabledAdd analysis and lints topics to pubspec
analysis and lints topics to pubspec`deprecated_member_use_from_same_package`
enable_null_safetyflutter_lintsMigrate from analyzer.strong-mode.{implicit-casts,implicit-dynamic} to analyzer.language.{strict-casts,strict-inference,strict-raw-types} which might
analyzer.strong-mode.{implicit-casts,implicit-dynamic} to analyzer.language.{strict-casts,strict-inference,strict-raw-types} which might report new warningsNothing published for this version
`collection_methods_unrelated_type`
- Fix broken changelog
Disable the deprecated invariant_booleans lint
unawaited() function which is provided by Dart
since 2.14 (#88)discarded_futures lint (#87)invariant_booleans lint (#86)`unnecessary_to_list_in_spreads`
use_build_context_synchronously
null_check_on_nullable_type_parameter
literal_only_boolean_expressions
Update README to differentiate between app and package projects
flutterImprove explanation in README on why one might want to add leancode_lint as a normal dependency instead of dev dependency when using Dart version < 2.
leancode_lint as
a normal dependency instead of dev dependency when using Dart version < 2.14library_private_types_in_public_api
package:flutter_lints/flutter.yaml not being found- Initial release
78
likes
160
points
37.6k
downloads
API reference
leancode.co
Robust and high-quality lint rules used at LeanCode.
Homepage
Repository (GitHub)
View/report issues
#analysis #analyzer #code-style #lint #lints
Apache-2.0 ( license )
analysis_server_plugin , analyzer , analyzer_plugin , meta , path , source_span , yaml
Packages that depend on leancode_lint
78
likes
160
points
37.6k
downloads
API reference
leancode.co
Robust and high-quality lint rules used at LeanCode.
Homepage
Repository (GitHub)
View/report issues
#analysis #analyzer #code-style #lint #lints
Apache-2.0 ( license )
analysis_server_plugin , analyzer , analyzer_plugin , meta , path , source_span , yaml
Packages that depend on leancode_lint
Back
Your coding agent can read these notes before it upgrades. Set up the MCP server →