Skip to content

Commit a5aad4c

Browse files
committed
Style: update Rubocop config
- Target Ruby 2.1 - Exclude offenses
1 parent fb1e3e3 commit a5aad4c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.rubocop.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ inherit_gem:
22
jekyll: .rubocop.yml
33

44
AllCops:
5+
TargetRubyVersion: 2.1
56
Exclude:
6-
- 'vendor/**/*'
7+
- vendor/**/*
78

89
Metrics/LineLength:
910
Enabled: false
@@ -15,3 +16,9 @@ Metrics/BlockLength:
1516
Metrics/MethodLength:
1617
Exclude:
1718
- spec/**/*
19+
20+
Style/FrozenStringLiteralComment:
21+
Exclude:
22+
- lib/jekyll-github-metadata/site_github_munger.rb
23+
- spec/edit_link_tag_spec.rb
24+
- spec/site_github_munger_spec.rb

0 commit comments

Comments
 (0)