use ruby 2.3 by default
This commit is contained in:
parent
3e08b7d257
commit
3d0246d18a
2 changed files with 10 additions and 5 deletions
13
.rubocop.yml
13
.rubocop.yml
|
|
@ -24,6 +24,12 @@ Metrics/ClassLength:
|
|||
Metrics/ModuleLength:
|
||||
Max: 1500
|
||||
|
||||
# Raise AbcSize from 15 to 20
|
||||
Metrics/AbcSize:
|
||||
Max: 20
|
||||
Exclude:
|
||||
- "lib/diaspora_federation/test/factories.rb"
|
||||
|
||||
# No space makes the method definition shorter and differentiates
|
||||
# from a regular assignment.
|
||||
Style/SpaceAroundEqualsInParameterDefault:
|
||||
|
|
@ -152,10 +158,6 @@ Metrics/CyclomaticComplexity:
|
|||
Max: 10
|
||||
Metrics/PerceivedComplexity:
|
||||
Max: 10
|
||||
Metrics/AbcSize:
|
||||
Max: 20
|
||||
Exclude:
|
||||
- "lib/diaspora_federation/test/factories.rb"
|
||||
|
||||
Rails/TimeZone:
|
||||
Exclude:
|
||||
|
|
@ -170,3 +172,6 @@ Style/EmptyLineBetweenDefs:
|
|||
|
||||
Style/NumericPredicate:
|
||||
EnforcedStyle: comparison
|
||||
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
2.2
|
||||
2.3
|
||||
|
|
|
|||
Loading…
Reference in a new issue