sweeper 0.2.2 copy "sweeper: ^0.2.2" to clipboard
sweeper: ^0.2.2 copied to clipboard

Finds and removes unused gen-l10n translation keys from ARB files using resolved static analysis.

Changelog #

0.2.2 #

  • Widened analyzer constraint to >=10.0.0 <15.0.0 so sweeper can coexist with packages pinned to older analyzer majors (e.g. dart_code_linter). Full test suite verified against analyzer 10.0.0 and 14.0.0.

0.2.1 #

  • README: full commands & flags reference (including --quiet).

0.2.0 #

  • Hardened detection: the localizations class must be declared in the gen-l10n output location (output-dir or the legacy package:flutter_gen synthetic package), so identically-named classes elsewhere never count.
  • Colored terminal output (ANSI auto-detected, plain when piped).
  • New --quiet/-q flag on check and clean to print summaries only.
  • Dartdoc for the full public API and a pub.dev example.

0.1.0 #

  • Initial release: check and clean commands with resolved-AST unused-key detection, --keep globs, --json, --dry-run, and fail-closed behavior.
3
likes
0
points
2.52k
downloads

Publisher

verified publisheryashgarg.dev

Weekly Downloads

Finds and removes unused gen-l10n translation keys from ARB files using resolved static analysis.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, args, glob, path, yaml

More

Packages that depend on sweeper