Skip to content

Add linter CI workflow for Clippy and RuboCop#61

Merged
dak2 merged 1 commit intomainfrom
add-linter-workflow
Mar 15, 2026
Merged

Add linter CI workflow for Clippy and RuboCop#61
dak2 merged 1 commit intomainfrom
add-linter-workflow

Conversation

@dak2
Copy link
Owner

@dak2 dak2 commented Mar 15, 2026

Summary

  • Add GitHub Actions workflow .github/workflows/linter.yml that runs Clippy (Rust linter) and RuboCop (Ruby linter) as parallel jobs
  • Auto-fix 187 existing RuboCop offenses via rubocop -A (mainly single-quote enforcement for StringLiterals)
  • Update .rubocop.yml to exclude test files from ClassLength and raise CyclomaticComplexity threshold to 10

Test plan

  • Clippy job passes on GitHub Actions
  • RuboCop job passes on GitHub Actions
  • cd core && cargo clippy --lib --all-features -- -W clippy::all passes locally
  • bundle exec rubocop passes locally
  • cargo test --lib and bundle exec rake test pass locally

🤖 Generated with Claude Code

Add GitHub Actions workflow for Clippy and RuboCop linting with
parallel job execution. Fix existing RuboCop style violations via
auto-correct and update .rubocop.yml to exclude test files from
ClassLength and raise CyclomaticComplexity threshold to 10.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dak2 dak2 merged commit 2d7ae52 into main Mar 15, 2026
4 checks passed
@dak2 dak2 deleted the add-linter-workflow branch March 15, 2026 02:28
@dak2 dak2 mentioned this pull request Mar 15, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant