forked from External/greenlight
Complete refactor of Gemfile and upgraded gems (#2553)
This commit is contained in:
22
.rubocop.yml
22
.rubocop.yml
@ -5,9 +5,7 @@ AllCops:
|
||||
DisabledByDefault: false
|
||||
TargetRubyVersion: 2.5
|
||||
|
||||
# Gems within groups in the Gemfile should be alphabetically sorted.
|
||||
Bundler/OrderedGems:
|
||||
Enabled: false
|
||||
NewCops: enable
|
||||
|
||||
Style/BlockDelimiters:
|
||||
Enabled: false
|
||||
@ -138,7 +136,7 @@ Metrics/AbcSize:
|
||||
# A complexity metric that is strongly correlated to the number
|
||||
# of test cases needed to validate a method.
|
||||
Metrics/CyclomaticComplexity:
|
||||
Max: 17
|
||||
Max: 20
|
||||
|
||||
# Checks for method parameter names that contain capital letters, end in numbers, or do not meet a minimal length.
|
||||
Naming/MethodParameterName:
|
||||
@ -176,4 +174,18 @@ Style/HashTransformValues:
|
||||
|
||||
Style/SlicingWithRange:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Style/OptionalBooleanParameter:
|
||||
Enabled: false
|
||||
|
||||
Lint/DuplicateBranch:
|
||||
Enabled: false
|
||||
|
||||
Lint/ConstantDefinitionInBlock:
|
||||
Enabled: false
|
||||
|
||||
Lint/EmptyBlock:
|
||||
Enabled: false
|
||||
|
||||
Style/HashLikeCase:
|
||||
Enabled: false
|
Reference in New Issue
Block a user