NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2726 most downloaded on pub.dev
Discontinued. This package is not intended to be used directly.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 1.6 years
Nearly every release is documented
notes for 57 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
175 releases · first in 2015
new avoid_field_initializers_in_const_classes lint
avoid_field_initializers_in_const_classes lintunnecessary_statementsavoid_js_rounded_ints lintnew avoid_double_and_int_checks lint
avoid_double_and_int_checks lintprefer_const_declarationsavoid_types_as_parameter_namesprefer_iterable_whereType lintprefer_generic_function_type_aliases lintOne column per quarter.
performance fixes for library prefix testing (library_prefixes)
library_prefixes)avoid_bool_literals_in_conditional_expressions lintprefer_equal_for_default_values lintavoid_private_typedef_functions lintavoid_single_cascade_in_expression_statements lintfix for invariant_booleans when analyzing for loops with no condition
invariant_booleans when analyzing for loops with no conditionavoid_types_as_parameter_names lintavoid_renaming_method_parameters lintnew avoid_relative_lib_imports lint
avoid_relative_lib_imports lintunnecessary_parenthesis lintprefer_const_literals_to_create_immutables to handle undefined classes gracefullyprefer_const_declarations to support optional new and constprefer_const_declarations updated to check localsinvariant_booleans2.0.0-devnew prefer_const_declarations.dart lint
prefer_const_declarations.dart lintprefer_const_literals_to_create_immutables lintadded support for external constructors in avoid_unused_constructor_parameters
avoid_unused_constructor_parameterscomment_referencesbroadened args package dependency to support versions 1.*
args package dependency to support versions 1.*avoid_unused_constructor_parameters updated to better handle redirecting factory constructors
avoid_unused_constructor_parameters updated to better handle redirecting factory constructorsavoid_returning_this improvementsprefer_bool_in_asserts improvementsprefer_interpolation_to_compose_strings updated to allow concatenation of two non-literal strings
prefer_interpolation_to_compose_strings updated to allow concatenation of two non-literal stringsprefer_interpolation_to_compose_strings updated to allow +=prefer_const_constructors_in_immutables false positive with redirecting factory constructorspublic_member_api_docs fix for package URIs
public_member_api_docs fix for package URIsavoid_positional_boolean_parameters updated to allow booleans in operator declarations
avoid_positional_boolean_parameters updated to allow booleans in operator declarationscomment_references fixed to handle incomplete referencesnon_constant_identifier_names updated to allow underscores around numbersnew avoid_unused_constructor_parameters lint
avoid_unused_constructor_parameters lintprefer_bool_in_asserts lintprefer_typing_uninitialized_variables lintunnecessary_statements lintpublic_member_api_docs updated to only lint source in lib/EmptyStatements$s2.0.0-dev.infinity constraint)linter engine updated to use new analysis driver
non_constant_identifier_names extended to include named constructors
non_constant_identifier_names extended to include named constructors2.0.0-dev.infinityprefer_final_fields performanceunnecessary_overrides (noSuchMethod handling, return type narrowing, special casing of documented super calls)non_constant_identifier_names to handle identifiers with no nameprefer_const_constructors to support list literalsrecursive_getterscascade_invocationsnew prefer_const_constructors_in_immutables lint
prefer_const_constructors_in_immutables lintalways_put_required_named_parameters_first lintprefer_asserts_in_initializer_lists lint--benchmark modeprefer_single_quote_strings lintavoid_setters_without_gettersdirectives_ordering to work with part directives located after exportscascade_invocations false positivesliteral_only_boolean_expressions false positivescascade_invocations only lints method invocations if target is a simple identifieruse_string_buffers false positivesprefer_const_constructorsNew unnecessary_overrides rule.
prefer_foreach lint.use_string_buffers rule.unnecessary_overrides rule.join_return_with_assignment_when_possible rule.use_to_and_as_if_applicable rule.avoid_setters_without_getters rule.always_put_control_body_on_new_line rule.avoid_positional_boolean_parameters rule.always_require_non_null_named_parameters rule.prefer_conditional_assignment rule.avoid_types_on_closure_parameters rule.always_put_control_body_on_new_line rule.use_setters_to_change_properties rule.avoid_returning_this rule.avoid_annotating_with_dynamic_when_not_required rule.prefer_constructors_over_static_methods rule.avoid_returning_null rule.avoid_classes_with_only_static_members rule.avoid_null_checks_in_equality_operators rule.avoid_catches_without_on_clauses rule.avoid_catching_errors rule.use_rethrow_when_possible rule.prefer_final_fields, unnecessary_lambdas, await_only_futures, cascade_invocations, avoid_types_on_closure_parameters, and overridden_fields).prefer_interpolation_to_compose_strings.unnecessary_this rule.prefer_initializing_formals rule.New avoid_function_literals_in_foreach_calls lint.
avoid_function_literals_in_foreach_calls lint.avoid_slow_async_io lint.cascade_invocations lint.directives_ordering lint.no_adjacent_strings_in_list lint.no_duplicate_case_values lint.omit_local_variable_types lint.prefer_adjacent_string_concatenation lint.prefer_collection_literals lint.prefer_const_constructors lint.prefer_contains lint.prefer_expression_function_bodies lint.prefer_function_declarations_over_variables lint.prefer_initializing_formals lint.prefer_interpolation_to_compose_strings lint.prefer_is_empty lint.recursive_getters lint.unnecessary_brace_in_string_interps lint.unnecessary_lambdas lint.unnecessary_null_aware_assignments lint.unnecessary_null_in_if_null_operators lint.Nothing published for this version
Nothing published for this version
Expand await_only_futures to accept classes that extend or implement Future.
cascade_invocations lint.await_only_futures to accept classes that extend or implement Future.$s.parameter_assignments (improved getter handling and an NPE).Nothing published for this version
Fixed cast exception in dart_type_utilities (dart-lang/sdk#27405).
dart_type_utilities (dart-lang/sdk#27405).parameter_assignments lint.prefer_final_fields lint.prefer_final_locals lint.solo_debug (#304).Updated tests to use package test (#302).
test (#302).Fixed false positive on []= in always_declare_return_types (#300).
[]= in always_declare_return_types (#300).invariant_booleans lint.literal_only_boolean_expressions lint.camel_case_types to allow $ in identifiers (#290).Internal updates to keep up with changes in the analyzer package.
close_sinks to respect calls to destroy (#282).only_throw_errors to report on the expression not node.Removed whitespace_around_ops pending re-name and re-design (#249).
whitespace_around_ops pending re-name and re-design (#249).Grinder support (rule:rule_name and docs:location) for rule stub and doc generation (respectively).
rule:rule_name and docs:location) for rule stub and doc generation (respectively).non_constant_identifier_names.valid_regexps lint (#277).whitespace_around_ops lint (#249).overridden_fields to flag overridden static fields (#274).list_remove_unrelated_type to detect passing a non-T value to `List.remove()`` (#271).empty_catches lint to catch empty catch blocks (#43).close_sinks false positive (#268).linter support for --strong to allow for running linter in strong mode.New lint to check for empty_statements (#259).
only_throw_errors lint.empty_statements (#259).iterable_contains_unrelated_type (#267).- New cancel_subscriptions lint.
cancel_subscriptions lint.Fixes to iterable_contains_unrelated_type .
close_sinks lint.iterable_contains_unrelated_type .Fix NSME in iterable_contains_unrelated_type (#245).
iterable_contains_unrelated_type (#245).comment_references error description.overriden_field false positive (#246).lints option to rules (#248).Fix to public_member_api_docs to check for documented getters when checking setters (#237).
public_member_api_docs to check for documented getters when checking setters (#237).iterable_contains_unrelated_type lint to detect when Iterable.contains is invoked with an object of an unrelated type.comment_references lint to ensure identifiers referenced in docs are in scope (#240).Fix for false positive in overriden_fields.
overriden_fields.unrelated_type_equality_checks lint.$ identifiers in string interpolation lint (#214).plugin API (0.2.0).Fix to allow simple getter/setters when a decl is `@protected (#215).
is checks (#227).const and final vars to be initialized to null (#210).empty_constructor_bodies (#209).main when checking for API docs (#207).$ in type names (#220).test_types_in_equals lint.await_only_futures lint.throw_in_finally lint.control_flow_in_finally lint.Fix to skip overriding members in API doc checks (public_member_api_docs).
public_member_api_docs).annotate_overrides, public_member_api_docs).Fix to address LibraryNames regexp that in pathological cases went exponential.
LibraryNames regexp that in pathological cases went exponential.Doc generation improvements (now with options samples).
hashCode and == (#168).null (#160).Updated to use analyzer 0.27.0.
analyzer 0.27.0.Fix type_annotate_public_apis to properly handle getters/setters (#151; dart-lang/sdk#25092).
type_annotate_public_apis to properly handle getters/setters (#151; dart-lang/sdk#25092).Fix to protect against errors in linting invalid source (dart-lang/sdk#24910).
avoid_empty_else lint rule (dart-lang/sdk#224936).Fix to package_api_docs (dart-lang/sdk#24947; #154).
package_api_docs (dart-lang/sdk#24947; #154).Fix to package_prefixed_library_names (dart-lang/sdk#24947; #154).
package_prefixed_library_names (dart-lang/sdk#24947; #154).Added prefer_is_not_empty lint rule (#143).
prefer_is_not_empty lint rule (#143).type_annotate_public_apis lint rule (#24).avoid_as lint rule (#145).non_constant_identifier_names rule to special case underscore identifiers in callbacks._s in callback type validation (addresses false positives in always_specify_types) (#147).Added always_declare_return_types lint rule (#146).
always_declare_return_types lint rule (#146).always_specify_types to detect missing types in declared identifiers and narrowed source range to the token.implementation_imports lint rule (#33).Fixed various options file parsing issues.
Nothing published for this version
Nothing published for this version
Fixed linter registry memory leaks.
Fixed false positives in unnecessary_brace_in_string_interp lint. Fix #112.
unnecessary_brace_in_string_interp lint. Fix #112.Internal code and dependency constraint cleanup.
- Initial stable release.
- Initial push to pub.
Added machine output option. Fix #69.
lib/ to use a package: URI. Fix #49.analyzer package constraints.one_member_abstracts lint. Fix #64.Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →