Skip to main content

flutter_quality_ratchet 0.1.1 copy "flutter_quality_ratchet: ^0.1.1" to clipboard
flutter_quality_ratchet: ^0.1.1 copied to clipboard

A quality ratchet for Dart and Flutter projects: freeze today's lint debt in a baseline that may only shrink, and fail CI on every new violation.

Changelog #

0.1.1 #

  • English README (Arabic version moved to README.ar.md)
  • Shorter package description
  • Add example

0.1.0 #

First release.

  • quality_ratchet CLI (also dart run flutter_quality_ratchet) with the commands init, check, update-baseline, seed-rule and explain.
  • Config file quality_ratchet.yaml: include/exclude globs, baseline path and a list of rules, each with its own id and message.
  • Rule types: max_file_lines, max_function_lines, forbidden_imports, forbidden_patterns and hardcoded_strings.
  • Ratchet semantics: new or grown violations fail, a stale baseline must be lowered, update-baseline only shrinks, moved debt is allowed while a rule's total holds, and --base <ref> adds the raise guard against the baseline at the merge-base (a hand raise with a reason is a warning).
  • Output formats text, github (workflow annotations plus a job summary) and json. Exit codes: 0 clean, 1 violations, 2 usage or config error.
  • Composite GitHub Action (action.yml).
0
likes
160
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A quality ratchet for Dart and Flutter projects: freeze today's lint debt in a baseline that may only shrink, and fail CI on every new violation.

Repository (GitHub)
View/report issues

Topics

#lint #ci #code-quality #flutter #architecture

License

MIT (license)

Dependencies

args, yaml

More

Packages that depend on flutter_quality_ratchet