Skip to content

Commit

Permalink
Add and configure rubocop-packaging gem (#4)
Browse files Browse the repository at this point in the history
> [rubocop-packaging] helps to enforce some of the guidelines that are
> expected of upstream maintainers so that the downstream can build
> their packages in a clean environment without any problems.

See: https://docs.rubocop.org/rubocop-packaging
  • Loading branch information
jgarber623-cargosense authored Dec 22, 2023
2 parents 267d6b5 + 2424b21 commit b8ddb95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
inherit_gem:
rubocop-cargosense: config/default.yml
inherit_from: config/default.yml

require: rubocop-packaging

AllCops:
TargetRubyVersion: "3.0"
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ source "https://rubygems.org"
gemspec

gem "rake"
gem "rubocop-packaging"

0 comments on commit b8ddb95

Please sign in to comment.