pyramid_lint 1.0.0
pyramid_lint: ^1.0.0 copied to clipboard
Linting tool for Dart and Flutter projects to encourage good coding practices.
Changelog #
[1.0.0] - 2023-10-13 #
Added #
- New lints
avoid_returning_widgets
boolean_prefix
Changed #
- BREAKING:
avoid_empty_block
is renamed toavoid_empty_blocks
. - BREAKING:
avoid_inverted_boolean_expression
is renamed toavoid_inverted_boolean_expressions
. - BREAKING:
correct_order_for_super_dispose
is renamed toproper_super_dispose
. - BREAKING:
correct_order_for_super_init_state
is renamed toproper_super_init_state
. - BREAKING:
proper_usage_of_expanded_and_flexible
is renamed toproper_expanded_and_flexible
. - BREAKING:
proper_usage_of_from_environment
is renamed toproper_from_environment
. - BREAKING:
prefer_declaring_const_constructor
is renamed toprefer_declaring_const_constructors
. - BREAKING:
prefer_declaring_parameter_name
is renamed toalways_declare_parameter_names
. proper_edge_insets_constructor
now works when arguments are variables.proper_edge_insets_constructor
is no longer triggered if all the arguments are 0 in flavor of the built-inuse_named_constants
.
Fixed #
- Fix
prefer_underscore_for_unused_callback_parameters
false positive on unused parameters in function declarations.
[0.6.0] - 2023-10-10 #
Added #
- New lints
avoid_dynamic
prefer_async_callback
prefer_value_changed
prefer_void_callback
prefer_underscore_for_unused_callback_parameters
[0.5.0] - 2023-10-05 #
[0.4.0] - 2023-09-26 #
Added #
- New lints
avoid_duplicate_import
max_lines_for_file
max_lines_for_function
[0.3.0] - 2023-09-25 #
Added #
-
New lints
avoid_inverted_boolean_expression
-
New assists
invert_boolean_expression
swap_then_else_expression
[0.2.0] - 2023-09-21 #
Added #
- New lints
prefer_dedicated_media_query_method
proper_controller_dispose
proper_edge_insets_constructor
[0.1.1] - 2023-09-18 #
- Fix README.md image links.
[0.1.0] - 2023-09-17 #
- Initial release.