NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #432 most downloaded on pub.dev
The Dart analyzer settings and best practices used internally at Google.
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 7 months
Nearly every release is documented
notes for 15 of 16 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
20 releases · first in 2018
Deprecated. Please use package:lints or package:flutter_lints instead.
package:lints or package:flutter_lints instead.[avoid_single_cascade_in_expression_statements]
Enforce 8 new lint rules:
Mark a number of lints unused, see README.md for details.
Remove avoid_empty_else as it is redundant when
curly_braces_in_control_structures is also enabled.
One column per quarter.
* Stable null safety release.
Update SDK constraints to >=2.12.0-0 <3.0.0 based on beta release guidelines.
>=2.12.0-0 <3.0.0 based on beta release
guidelines.allow the 2.12 prerelease sdks
allow the 2.12 prerelease sdks (#73)
Fix typo in CHANGELOG version entry
Fix typo in CHANGELOG version entry (#71)
This is in preparation for the actual 2.10 dev sdk release.
This is in preparation for the actual 2.10 dev sdk release.
Revert changes in 1.9.1 due to problems moving unawaited to meta.
Revert changes in 1.9.1 due to problems moving unawaited to meta.
package:meta is now the recommended place to get the unawaited method.
package:meta is now the recommended place to get the unawaited method.
pedantic now exports that implementation, so the two are compatible.
unawaited will be removed from pedantic in version 2.0.0.
[always_require_non_null_named_parameters]
Enforce 17 new lint rules:
always_declare_return_typesalways_require_non_null_named_parametersannotate_overridesavoid_null_checks_in_equality_operatorscamel_case_extensionsomit_local_variable_typesprefer_adjacent_string_concatenationprefer_collection_literalsprefer_conditional_assignmentprefer_final_fieldsprefer_for_elements_to_map_fromIterableprefer_generic_function_type_aliasesprefer_if_null_operatorsprefer_single_quotesprefer_spread_collectionsunnecessary_thisuse_function_type_syntax_for_parametersMark a number of lints unused, see README.md for details.
[prefer_iterable_whereType]: https://dart-lang.github.io/linter/lints/prefer_iterable_whereType.html [unnecessary_const]: https://dart-lang.github.io/
Enforce three new lint rules:
Nothing published for this version
Add versioned analysis_options.yaml files to the package so it's possible to pin to a version without also pinning the pub dependency. See README.md f
analysis_options.yaml files to the package so it's possible
to pin to a version without also pinning the pub dependency. See README.md
for updated usage guide.[curly_braces_in_flow_control_structures]
[avoid_shadowing_type_parameters],
Enforce three new lint rules:
avoid_shadowing_type_parameters,empty_constructor_bodies,slash_for_doc_comments - Violations can be cleaned up with
the formatter's --fix-doc-comments flag.Enforce avoid_init_to_null and null_closures.
avoid_init_to_null and null_closures.- Enforce prefer_is_empty.
prefer_is_empty.Enforce unawaited_futures. Stop enforcing control_flow_in_finally and throw_in_finally.
unawaited_futures. Stop enforcing control_flow_in_finally and
throw_in_finally.Move analysis_options.yaml under lib so you can import it directly from your own analysis_options.yaml. See README.md for example.
analysis_options.yaml under lib so you can import it directly from
your own analysis_options.yaml. See README.md for example.Describe Dart static analysis use at Google in README.md.
README.md.analysis_options.yaml.unawaited method for silencing the unawaited_futures lint.Your coding agent can read these notes before it upgrades. Set up the MCP server →