Ignoring rubocop rules for Ruby 3.
This commit is contained in:
parent
137d997793
commit
d41258bb90
2 changed files with 10 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ inherit_from: .rubocop_todo.yml
|
|||
|
||||
# Apply rule to all cops
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.4
|
||||
Include:
|
||||
- '**/Rakefile'
|
||||
- '**/config.ru'
|
||||
|
|
|
|||
|
|
@ -714,3 +714,12 @@ Style/TrailingCommaInLiteral:
|
|||
- 'Guardfile'
|
||||
- 'db/migrate/20140701123203_add_events_per_week_to_conference.rb'
|
||||
- 'spec/models/conference_spec.rb'
|
||||
|
||||
|
||||
# for ruby 3.0
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
Style/NumericPredicate:
|
||||
Enabled: false
|
||||
Style/SafeNavigation:
|
||||
Enabled: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue