enforced_lints 0.1.3 copy "enforced_lints: ^0.1.3" to clipboard
enforced_lints: ^0.1.3 copied to clipboard

Configurable lint rules enforced across Dart/Flutter projects via the analyzer plugin API.

0.1.3 #

Fixed #

  • Corrected README documentation for pub.dev publishing and setup instructions.

0.1.2 #

Fixed #

  • Stabilized analyzer plugin compatibility by tightening analyzer and analyzer_plugin constraints to ensure successful resolution during pub downgrade and pub.dev analysis.
  • Fixed missing runtime dependency on path, which caused static analysis warnings in analyzer plugin sources.
  • Resolved pub.dev analysis failures caused by leftover .trunk tooling artifacts interfering with pana package inspection.
  • Ensured full compatibility of analyzer plugin with pub.dev isolated plugin execution environment.

0.1.1 #

Fixed #

  • Example file no longer contains real violations, which caused dart analyze --fatal-infos to fail and zeroed out the pub.dev static analysis score.
  • Widened analyzer constraint to <13.0.0 to include the latest compatible version and improve the pub.dev dependency score.

0.1.0 #

Added #

  • Per-rule opt-out configuration via analysis_options.yaml — set any rule to false to disable it.
  • Unit tests for the no_final_local_variable rule.
  • Example project demonstrating plugin integration and rule configuration.
  • dart run tools/reset_plugin_cache.dart script to reset the analysis server plugin cache during plugin development.

Changed #

  • README restructured with anchor navigation, a rules table with status indicators, and a detailed per-rule reference section.
  • Root library now includes setup documentation and exports a version constant.

0.0.1 #

Added #

  • no_final_local_variable: enforce explicit non-final types for local variables.
2
likes
150
points
41
downloads

Documentation

API reference

Publisher

verified publishersoneka96.com

Weekly Downloads

Configurable lint rules enforced across Dart/Flutter projects via the analyzer plugin API.

Repository (GitHub)
View/report issues

Topics

#linting #analyzer #dart

License

MIT (license)

Dependencies

analyzer

More

Packages that depend on enforced_lints