Run 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
- Otherwise:
- Run
melos run lint:allto check everything - Report any issues found
Analysis configuration
The project uses very_good_analysis rules defined in analysis_options.yaml.