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:
|
Metrics/ModuleLength:
|
||||||
Max: 1500
|
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
|
# No space makes the method definition shorter and differentiates
|
||||||
# from a regular assignment.
|
# from a regular assignment.
|
||||||
Style/SpaceAroundEqualsInParameterDefault:
|
Style/SpaceAroundEqualsInParameterDefault:
|
||||||
|
|
@ -152,10 +158,6 @@ Metrics/CyclomaticComplexity:
|
||||||
Max: 10
|
Max: 10
|
||||||
Metrics/PerceivedComplexity:
|
Metrics/PerceivedComplexity:
|
||||||
Max: 10
|
Max: 10
|
||||||
Metrics/AbcSize:
|
|
||||||
Max: 20
|
|
||||||
Exclude:
|
|
||||||
- "lib/diaspora_federation/test/factories.rb"
|
|
||||||
|
|
||||||
Rails/TimeZone:
|
Rails/TimeZone:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|
@ -170,3 +172,6 @@ Style/EmptyLineBetweenDefs:
|
||||||
|
|
||||||
Style/NumericPredicate:
|
Style/NumericPredicate:
|
||||||
EnforcedStyle: comparison
|
EnforcedStyle: comparison
|
||||||
|
|
||||||
|
Style/FrozenStringLiteralComment:
|
||||||
|
Enabled: false
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2.2
|
2.3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue