Skip to content

Commit

Permalink
Add RuboCop Packaging
Browse files Browse the repository at this point in the history
For parity with activeadmin

Ref: activeadmin/activeadmin#6462
  • Loading branch information
tagliala committed Sep 8, 2024
1 parent e2c2ec4 commit 3c9408b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require:
- rubocop-minitest
- rubocop-packaging
- rubocop-performance

AllCops:
Expand Down Expand Up @@ -215,6 +216,18 @@ Minitest/UnspecifiedException:
Minitest/UselessAssertion:
Enabled: true

Packaging/BundlerSetupInTests:
Enabled: true

Packaging/GemspecGit:
Enabled: true

Packaging/RequireHardcodingLib:
Enabled: true

Packaging/RequireRelativeHardcodingLib:
Enabled: true

Performance:
Enabled: true

Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ end
group :rubocop do
gem 'rubocop'
gem 'rubocop-minitest'
gem 'rubocop-packaging'
gem 'rubocop-performance'
end

0 comments on commit 3c9408b

Please sign in to comment.