Skip to content

Commit d13ad8a

Browse files
authored
Merge pull request increments#175 from increments/dependabot/bundler/rubocop-tw-1.75.8
Update rubocop requirement from ~> 1.60.2 to ~> 1.75.8
2 parents 1df88ff + e12645a commit d13ad8a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.rubocop.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@ inherit_from: .rubocop_todo.yml
33
AllCops:
44
NewCops: enable
55

6+
Layout/LineLength:
7+
Enabled: false
8+
69
Metrics/ClassLength:
710
Enabled: false
811

12+
Naming/PredicatePrefix:
13+
ForbiddenPrefixes:
14+
- is_
15+
916
Style/Documentation:
1017
Enabled: false
1118

@@ -15,10 +22,6 @@ Style/EmptyCaseCondition:
1522
Style/GuardClause:
1623
Enabled: false
1724

18-
Style/PredicateName:
19-
ForbiddenPrefixes:
20-
- is_
21-
2225
Style/StringLiterals:
2326
EnforcedStyle: double_quotes
2427

@@ -34,9 +37,6 @@ Style/TrailingCommaInArrayLiteral:
3437
Style/RedundantPercentQ:
3538
Enabled: false
3639

37-
Metrics/LineLength:
38-
Enabled: false
39-
4040
Metrics/BlockLength:
4141
Exclude:
4242
- qiita-markdown.gemspec

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ gem "codeclimate-test-reporter", "0.4.4"
99
gem "pry"
1010
gem "rake"
1111
gem "rspec", "~> 3.1"
12-
gem "rubocop", "~> 1.60.2"
12+
gem "rubocop", "~> 1.76.0"
1313
gem "simplecov", "!= 0.18.0", "!= 0.18.1", "!= 0.18.2", "!= 0.18.3", "!= 0.18.4", "!= 0.18.5", "!= 0.19.0", "!= 0.19.1"

lib/qiita/markdown/filters/code_block.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def empty?
8282
end
8383

8484
def has_only_filename?
85-
sections[1].nil? && sections[0] && sections[0].include?(".")
85+
sections[1].nil? && sections[0]&.include?(".")
8686
end
8787

8888
def linguist_language

0 commit comments

Comments
 (0)