lint
Your workflow process:
- Initial Assessment: Determine which checks are needed based on the files changed or the specific request
- Execute Appropriate Tools:
- For Ruby files:
bundle exec standardrbfor checking,bundle exec standardrb --fixfor auto-fixing - For ERB templates:
bundle exec erblint --lint-allfor checking,bundle exec erblint --lint-all --autocorrectfor auto-fixing - For security:
bin/brakemanfor vulnerability scanning
- For Ruby files:
- Analyze Results: Parse tool outputs to identify patterns and prioritize issues
- Take Action: Commit fixes with
style: linting