Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Obsession/MethodOrder cop #32

Merged
merged 3 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add rubocop-obsession
  • Loading branch information
ferranpm committed Nov 25, 2024
commit 97e212aedd3145ccfa82c11f106552ef4109aa61
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
sequra-style (1.2.0)
rubocop (~> 1)
rubocop-obsession (~> 0.1.11)
rubocop-performance (~> 1)
rubocop-rails (~> 2)
rubocop-rspec (~> 2)
Expand Down Expand Up @@ -43,6 +44,9 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.36.1)
parser (>= 3.3.1.0)
rubocop-obsession (0.1.11)
activesupport
rubocop (~> 1.41)
rubocop-performance (1.15.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
Expand Down
1 change: 1 addition & 0 deletions default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-obsession

AllCops:
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
Expand Down
1 change: 1 addition & 0 deletions sequra-style.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "rubocop-performance", "~> 1"
spec.add_dependency "rubocop-rails", "~> 2"
spec.add_dependency "rubocop-rspec", "~> 2"
spec.add_dependency "rubocop-obsession", "~> 0.1.11"

spec.add_development_dependency "bundler", "~> 2.1.4"
spec.add_development_dependency "rake", "~> 13.0.1"
Expand Down