clean_code_lints 0.2.0 copy "clean_code_lints: ^0.2.0" to clipboard
clean_code_lints: ^0.2.0 copied to clipboard

Opinionated lint rules for clean architecture and clean code in Dart and Flutter projects.

0.2.0 #

  • Upgrade analyzer to ^13.3.0 (latest resolvable; ^14.0.0 blocked by an upstream constraint conflict between analysis_server_plugin 0.3.19 and analyzer_plugin via dart_style).
  • Upgrade analysis_server_plugin to ^0.3.18.
  • Upgrade lints to ^6.1.0.

0.1.0 #

  • Initial release. 19 lint rules, grouped by family:
    • Size & shape: file_too_long, function_too_long, class_too_long, build_method_too_long, too_many_function_arguments.
    • Naming: single_letter_parameter, hungarian_notation.
    • Layered architecture: domain_layer_imports, presentation_imports_storage, feature_isolation.
    • Widget hygiene: widget_level_try_catch, widget_build_method.
    • Hardcoded literals: hardcoded_color, hardcoded_spacing, hardcoded_endpoint.
    • Clean code: no_print_in_production, avoid_dynamic, missing_await, enum_exhaustive_switch.
1
likes
0
points
267
downloads

Publisher

unverified uploader

Weekly Downloads

Opinionated lint rules for clean architecture and clean code in Dart and Flutter projects.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analysis_server_plugin, analyzer

More

Packages that depend on clean_code_lints