Skip to content

khanak0509/dart_scout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dart_scout

Your friendly Dart/Flutter project health scout. It walks your codebase and tells you what’s stale, messy, or risky—either as a colorful terminal report or as JSON you can feed into CI.

What it checks

  • Dependencies: outdated or deprecated packages via pub.dev
  • Imports: unused imports by scanning your Dart files
  • Format: verifies dart format, optional --fix to auto-format
  • Stats: files, total/blank/comment lines
  • Security (lightweight): flags versions from a small vulnerable list
  • JSON mode: everything above in machine-readable form

Quick start

dart pub global activate --source path .   # from the repo root
dart_scout analyze                         # terminal report
dart_scout analyze --json > report.json    # JSON saved to file

No config needed. It skips common build/cache dirs: .dart_tool, build, .pub-cache, .git, node_modules.

Commands

  • analyze (default): run the full suite
  • deps: dependency freshness/deprecation only
  • imports: unused imports only
  • stats: code stats only
  • security: vulnerable versions only

Common flags

  • --path, -p — project path (default: .)
  • --json — emit JSON instead of terminal output
  • --fix — run dart format automatically
  • --no-color — disable ANSI colors
  • --verbose, -v — more detail

Why you’d use it

You get a fast, no-setup health snapshot for any Dart/Flutter repo. Great for PR gates, quick audits, or local hygiene checks before you push.

About

A lightweight CLI tool to analyze Dart/Flutter project health—detecting outdated dependencies, unused imports, formatting issues, and potential risks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages