pyramid_lint 1.3.0
pyramid_lint: ^1.3.0 copied to clipboard
Linting tool for Dart and Flutter projects to encourage good coding practices.
Changelog #
1.3.0 - 2024-01-15 #
Added #
- Add new lint
no_self_comparisons(#9) - Add new lint
avoid_widget_state_public_members(#10) - Add new assist
wrap_with_value_listenable_builder(#16 thanks to imsamgarg)
Changed #
prefer_dedicated_media_query_methodnow supports indirect calls toMediaQuery.of(context)andMediaQuery.maybeOf(context)(#13 thanks to imsamgarg)proper_controller_disposenow supportsChangeNotifier's subclasses (#14 thanks to imsamgarg)- Add quick fixes for
proper_controller_dispose(#15 thanks to imsamgarg)
Fixed #
1.2.0 - 2023-11-24 #
Added #
- New lints
avoid_abbreviations_in_doc_commentsdoc_comments_before_annotationsprefer_library_prefixes
Changed #
- Disable Flutter lints and assists for Dart projects.
- Improve lints' messages.
- Improve documentation.
prefer_dedicated_media_query_methodnow supportsonOffSwitchLabelsandtextScaler.
Fixed #
- Fix the quick fix for
prefer_void_callback,prefer_async_callbackandprefer_value_changedwhen the function is nullable.
1.1.0 - 2023-10-19 #
1.0.0 - 2023-10-13 #
Added #
- New lints
avoid_returning_widgetsboolean_prefix
Changed #
- BREAKING:
avoid_empty_blockis renamed toavoid_empty_blocks. - BREAKING:
avoid_inverted_boolean_expressionis renamed toavoid_inverted_boolean_expressions. - BREAKING:
correct_order_for_super_disposeis renamed toproper_super_dispose. - BREAKING:
correct_order_for_super_init_stateis renamed toproper_super_init_state. - BREAKING:
proper_usage_of_expanded_and_flexibleis renamed toproper_expanded_and_flexible. - BREAKING:
proper_usage_of_from_environmentis renamed toproper_from_environment. - BREAKING:
prefer_declaring_const_constructoris renamed toprefer_declaring_const_constructors. - BREAKING:
prefer_declaring_parameter_nameis renamed toalways_declare_parameter_names. proper_edge_insets_constructornow works when arguments are variables.proper_edge_insets_constructoris no longer triggered if all the arguments are 0 in flavor of the built-inuse_named_constants.
Fixed #
- Fix
prefer_underscore_for_unused_callback_parametersfalse positive on unused parameters in function declarations.
0.6.0 - 2023-10-10 #
Added #
- New lints
avoid_dynamicprefer_async_callbackprefer_value_changedprefer_void_callbackprefer_underscore_for_unused_callback_parameters
0.5.0 - 2023-10-05 #
0.4.0 - 2023-09-26 #
Added #
- New lints
avoid_duplicate_importmax_lines_for_filemax_lines_for_function
0.3.0 - 2023-09-25 #
Added #
-
New lints
avoid_inverted_boolean_expression
-
New assists
invert_boolean_expressionswap_then_else_expression
0.2.0 - 2023-09-21 #
Added #
- New lints
prefer_dedicated_media_query_methodproper_controller_disposeproper_edge_insets_constructor
0.1.1 - 2023-09-18 #
- Fix README.md image links.
0.1.0 - 2023-09-17 #
- Initial release.