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.
Enforce three new lint rules:
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.Enforce six new lint rules:
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.avoid_init_to_null and null_closures.prefer_is_empty.unawaited_futures. Stop enforcing control_flow_in_finally and throw_in_finally.analysis_options.yaml under lib so you can import it directly from your own analysis_options.yaml. See README.md for example.README.md.analysis_options.yaml.unawaited method for silencing the unawaited_futures lint.