Set TargetRubyVersion in .rubocop.yml
This commit is contained in:
parent
c30de78f97
commit
922cac70d6
1 changed files with 1 additions and 8 deletions
|
|
@ -1,4 +1,5 @@
|
|||
AllCops:
|
||||
TargetRubyVersion: 2.1
|
||||
Exclude:
|
||||
- "bin/**/*"
|
||||
- "test/dummy/bin/**/*"
|
||||
|
|
@ -192,17 +193,9 @@ Style/NumericPredicate:
|
|||
### backward compatibility
|
||||
|
||||
# only with ruby >= 2.3
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
Style/SafeNavigation:
|
||||
Enabled: false
|
||||
Layout/IndentHeredoc:
|
||||
Enabled: false
|
||||
|
||||
# only with ruby >= 2.4
|
||||
Performance/RegexpMatch:
|
||||
Enabled: false
|
||||
|
||||
# for rails 4 and ruby < 2.2.2
|
||||
Rails/HttpPositionalArguments:
|
||||
Exclude:
|
||||
|
|
|
|||
Loading…
Reference in a new issue