chore: update rubocop

This commit is contained in:
Adrien Waksberg 2018-07-24 19:05:47 +02:00
parent 832bce5490
commit 5154b4b632

43
.rubocop.yml Normal file
View file

@ -0,0 +1,43 @@
AllCops:
Exclude:
- db/**/*
- config/**/*
- bin/*
TargetRubyVersion: 2.4
Gemspec/RequiredRubyVersion:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
Style/RescueStandardError:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Style/NumericLiteralPrefix:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/CommandLiteral:
Enabled: true
EnforcedStyle: percent_x
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false