Skip to content

Commit

Permalink
Update .rubocop.yml file to remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
abinoam committed Aug 18, 2024
1 parent 8f7bcf0 commit ce0a3da
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# https://github.com/bbatsov/rubocop/tree/master/config

AllCops:
TargetRubyVersion: 2.1
TargetRubyVersion: 3.3
NewCops: enable

# General

Expand Down Expand Up @@ -58,7 +59,7 @@ Style/OptionalArguments:
- 'lib/highline/list_renderer.rb'

# TemplateRenderer should never fail on method missing.
Style/MethodMissing:
Style/MissingRespondToMissing:
Exclude:
- 'lib/highline/template_renderer.rb'

Expand All @@ -73,7 +74,7 @@ Style/SymbolArray:
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
Layout/IndentHeredoc:
Layout/HeredocIndentation:
Exclude:
- 'examples/page_and_wrap.rb'
- 'highline.gemspec'
Expand Down

0 comments on commit ce0a3da

Please sign in to comment.