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 $ARGUMENTS is "fix":
-
Run dart format . to fix formatting
-
Then run melos run analyze to check for remaining issues
Otherwise:
-
Run melos run lint:all to check everything
-
Report any issues found
Analysis configuration
The project uses very_good_analysis rules defined in analysis_options.yaml .