pedantic
The Dart analyzer settings and best practices used internally at Google.
1.11.1
852K downloads/mo
#391 most downloaded on pub.dev
google/pedantic
What this package is like to depend on
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
0 releases in the last 12 months
see the full history below
Release timeline
20 releases · Aug 2018 to Jun 2021Releases
latest 20-
1.11.117 Jun 2021 -
1.11.003 Mar 2021Release notes
Open source →-
Enforce 8 new lint rules:
-
Mark a number of lints unused, see
README.mdfor details. -
Remove
avoid_empty_elseas it is redundant whencurly_braces_in_control_structuresis also enabled.
-
-
1.10.005 Feb 2021 -
1.10.0-nullsafety.304 Nov 2020 pre-releaseRelease notes
Open source →- Update SDK constraints to
>=2.12.0-0 <3.0.0based on beta release guidelines.
- Update SDK constraints to
-
1.10.0-nullsafety.223 Oct 2020 pre-release -
1.10.0-nullsafety.122 Sep 2020 pre-release -
1.10.0-nullsafety29 Jul 2020 pre-release -
1.9.209 Jul 2020 -
1.9.101 Jul 2020Release notes
Open source →package:metais now the recommended place to get theunawaitedmethod.pedanticnow exports that implementation, so the two are compatible.unawaitedwill be removed frompedanticin version2.0.0. -
1.9.005 Dec 2019Release notes
Open source →-
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_parameters
-
Mark a number of lints unused, see
README.mdfor details.
-
-
1.8.003 Jul 2019 -
1.8.0+103 Jul 2019Nothing published for this version
-
1.7.009 May 2019Release notes
Open source →- Add versioned
analysis_options.yamlfiles to the package so it's possible to pin to a version without also pinning the pub dependency. SeeREADME.mdfor updated usage guide.
- Add versioned
-
1.6.006 May 2019 -
1.5.019 Feb 2019Release notes
Open source →-
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-commentsflag.
-
-
1.4.007 Dec 2018 -
1.3.019 Oct 2018 -
1.2.027 Sep 2018Release notes
Open source →- Enforce
unawaited_futures. Stop enforcingcontrol_flow_in_finallyandthrow_in_finally.
- Enforce
-
1.1.005 Sep 2018Release notes
Open source →- Move
analysis_options.yamlunderlibso you can import it directly from your ownanalysis_options.yaml. SeeREADME.mdfor example.
- Move
-
1.0.023 Aug 2018Release notes
Open source →- Describe Dart static analysis use at Google in
README.md. - Add sample
analysis_options.yaml. - Add
unawaitedmethod for silencing theunawaited_futureslint.
- Describe Dart static analysis use at Google in