lint
Run linting, formatting, and static analysis on the codebase
SKILL.md.claude/skills/lint/SKILL.md
GitHubRun code quality checks on the Keychat project.
Arguments
$ARGUMENTS- Optional: "fix" to auto-fix formatting issues
Commands
Run all checks (analyze + format check)
melos run lint:all
Run analyzer only
melos run analyze
Check formatting
dart format --set-exit-if-changed .
Fix formatting
dart format .
Workflow
If
$ARGUMENTSis "fix":- Run
dart format .to fix formatting - Then run
melos run analyzeto check for remaining issues
- Run
Otherwise:
- Run
melos run lint:allto check everything - Report any issues found
- Run
Analysis configuration
The project uses very_good_analysis rules defined in analysis_options.yaml.