Run SwiftLint to check for style violations.
If $ARGUMENTS contains "fix" or "autocorrect":
bundle exec rake lint:autocorrect
Otherwise, run check only:
bundle exec rake lint
After running:
- Report the number of warnings and errors
- Group violations by rule name
- For errors, show file paths and line numbers
- Suggest manual fixes for issues that autocorrect cannot handle