amplify_lints 3.1.4
amplify_lints: ^3.1.4 copied to clipboard
The lint rules used in developing Amplify Flutter packages and plugins.
3.1.1 #
- Minor bug fixes and improvements
3.0.2 #
- Minor bug fixes and improvements
3.0.1 #
- Minor bug fixes and improvements
3.0.0 #
2.0.3 #
- Update repository URL
2.0.2 #
- Enforce
implementation_importsto align withpackage:lints
2.0.1 #
- Fix package analysis issues
2.0.0 #
- Bumped min Dart SDK to 2.17
- Upgraded
package:lintsandpackage:flutter_lintsdependencies to 2.0 - Migrated specs as follows:
flutter_lib.yaml,dart.yaml->library.yamlflutter_app.yaml->app.yaml
- Ignores
implementation_importslint forlibrary.yamlandlibrary_core.yaml
Introduced the following new lints to library.yaml:
always_use_package_importsavoid_classes_with_only_static_membersavoid_dynamic_callsavoid_field_initializers_in_const_classesavoid_js_rounded_intsavoid_multiple_declarations_per_linecascade_invocationscomment_referencesconditional_uri_does_not_existdeprecated_consistencyeol_at_end_of_fileflutter_style_todosjoin_return_with_assignmentno_runtimeType_toStringnoop_primitive_operationsomit_local_variable_typesprefer_asserts_in_initializer_listsprefer_final_in_for_eachprefer_final_localsprefer_if_elements_to_conditional_expressionsprefer_int_literalsprefer_null_aware_method_callsrequire_trailing_commassort_constructors_firsttighten_type_of_initializing_formalsunawaited_futuresunnecessary_null_checksuse_enumsuse_if_null_to_convert_nulls_to_boolsuse_late_for_private_fields_and_variablesuse_named_constantsuse_raw_stringsuse_setters_to_change_propertiesuse_string_buffersuse_super_parametersuse_test_throws_matchersuse_to_and_as_if_applicable
Introduced the following new lints to app.yaml:
avoid_dynamic_callsavoid_field_initializers_in_const_classeseol_at_end_of_fileflutter_style_todosomit_local_variable_typesprefer_final_in_for_eachprefer_final_localsprefer_int_literalsprefer_null_aware_method_callsrequire_trailing_commassecure_pubspec_urlssized_box_shrink_expandsort_constructors_firsttighten_type_of_initializing_formalsunawaited_futuresunnecessary_null_checksuse_colored_boxuse_decorated_boxuse_enumsuse_if_null_to_convert_nulls_to_boolsuse_late_for_private_fields_and_variablesuse_named_constantsuse_raw_stringsuse_setters_to_change_propertiesuse_super_parametersuse_test_throws_matchers
To allow migration to the new lints, the old lints are available as library_core.yaml and app_core.yaml with only the upgrade to package:lints and package:flutter_lints v2.0.