Skip to content

Update rubocop requirement from ~> 1.60.2 to ~> 1.75.8 #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ inherit_from: .rubocop_todo.yml
AllCops:
NewCops: enable

Layout/LineLength:
Enabled: false

Metrics/ClassLength:
Enabled: false

Naming/PredicatePrefix:
ForbiddenPrefixes:
- is_

Style/Documentation:
Enabled: false

Expand All @@ -15,10 +22,6 @@ Style/EmptyCaseCondition:
Style/GuardClause:
Enabled: false

Style/PredicateName:
ForbiddenPrefixes:
- is_

Style/StringLiterals:
EnforcedStyle: double_quotes

Expand All @@ -34,9 +37,6 @@ Style/TrailingCommaInArrayLiteral:
Style/RedundantPercentQ:
Enabled: false

Metrics/LineLength:
Enabled: false

Metrics/BlockLength:
Exclude:
- qiita-markdown.gemspec
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ gem "codeclimate-test-reporter", "0.4.4"
gem "pry"
gem "rake"
gem "rspec", "~> 3.1"
gem "rubocop", "~> 1.60.2"
gem "rubocop", "~> 1.76.0"
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"
2 changes: 1 addition & 1 deletion lib/qiita/markdown/filters/code_block.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def empty?
end

def has_only_filename?
sections[1].nil? && sections[0] && sections[0].include?(".")
sections[1].nil? && sections[0]&.include?(".")
end

def linguist_language
Expand Down