Skip to content

Commit

Permalink
Enable Rubocop linting on custom Gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
tkareine committed Aug 27, 2023
1 parent 3b16e11 commit ecea82f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Default config: https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml
# Default config: https://github.com/rubocop/rubocop/blob/master/config/default.yml

inherit_mode:
merge:
- Exclude
- Include

require:
- rubocop-minitest
Expand All @@ -7,6 +12,10 @@ require:
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
Exclude:
- "**/Gemfile-*.lock"
Include:
- "**/Gemfile-*"
NewCops: enable
TargetRubyVersion: 2.7
Layout/ExtraSpacing:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile-jekyll3
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
instance_eval(File.read(File.expand_path('Gemfile-common', File.dirname(__FILE__))))

group :development do
gem 'jekyll', '~> 3.0'
gem 'jekyll', '~> 3.0'
end
2 changes: 1 addition & 1 deletion Gemfile-jekyll4
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
instance_eval(File.read(File.expand_path('Gemfile-common', File.dirname(__FILE__))))

group :development do
gem 'jekyll', '~> 4.0'
gem 'jekyll', '~> 4.0'
end

0 comments on commit ecea82f

Please sign in to comment.