ciach 0.2.0+2 copy "ciach: ^0.2.0+2" to clipboard
ciach: ^0.2.0+2 copied to clipboard

Finds unused (never-referenced) declarations in a Dart/Flutter package by driving the Dart analysis server over LSP and querying textDocument/references.

0.2.0+2 #

  • Update the README.

0.2.0+1 #

  • Add pub.dev topics and issue_tracker metadata for discoverability. No code changes.

0.2.0 #

  • Add --remove to delete unused declarations from source after reporting them, with a confirmation prompt; --remove --force skips the prompt.
  • Skip operator overloads (operator +, operator ==, …) by default — the analysis server can't resolve infix operator syntax back to the declaration, so a used operator was always reported as unused. Pass --operators to include them anyway.
  • Report declarations referenced only from a dartdoc [Xxx] comment link as a separate, informational "doc-only" category (in text, json, and github output) instead of hiding them entirely. Doc-only findings are never deleted by --remove.
  • Clarify installation instructions: global activation vs. adding ciach as a dev dependency.

0.1.0 #

Initial implementation.

6
likes
160
points
90
downloads

Documentation

API reference

Publisher

verified publisherleancode.co

Weekly Downloads

Finds unused (never-referenced) declarations in a Dart/Flutter package by driving the Dart analysis server over LSP and querying textDocument/references.

Repository (GitHub)
View/report issues

Topics

#static-analysis #dead-code #linter #cli #developer-tools

License

Apache-2.0 (license)

Dependencies

args, glob, path, pro_lsp, stream_channel

More

Packages that depend on ciach