This repository was archived by the owner on Nov 5, 2022. It is now read-only.
Releases: googlearchive/pedantic
Releases · googlearchive/pedantic
Deprecated
- Deprecated. Please use
package:lintsorpackage:flutter_lintsinstead.
Enforce eight new lints
-
Enforce 8 new lint rules:
-
Mark a number of lints unused, see
README.mdfor details. -
Remove
avoid_empty_elseas it is redundant when
curly_braces_in_control_structuresis also enabled.
Stable null safe release
v1.10 stable null safety release (#80)
`unawaited` will move to `package:meta`
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.
Enforce 17 new lint rules
-
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.
Enforce three new lint rules
-
Enforce three new lint rules:
Add versioned `analysis_options.yaml` files
- Add versioned
analysis_options.yamlfiles to the package so it's possible
to pin to a version without also pinning the pub dependency. SeeREADME.md
for updated usage guide.
Six more lints
Three more lints
- 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.
Enforce avoid_init_to_null and null_closures
Merge pull request #10 from davidmorgan/release-1-4-0 Enforce avoid_init_to_null and null_closures.