зеркало из
https://github.com/glebtv/yookassa.git
synced 2026-09-07 11:25:51 +03:00
Rubocop updates & binstubs
Этот коммит содержится в:
27
.rubocop.yml
27
.rubocop.yml
@@ -1,13 +1,20 @@
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.5
|
||||
TargetRubyVersion: 2.6
|
||||
NewCops: enable
|
||||
|
||||
Style/StringLiterals:
|
||||
Enabled: true
|
||||
EnforcedStyle: double_quotes
|
||||
|
||||
Style/StringLiteralsInInterpolation:
|
||||
Enabled: true
|
||||
EnforcedStyle: double_quotes
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Layout/LineLength:
|
||||
Max: 150
|
||||
|
||||
Metrics/BlockLength:
|
||||
Exclude:
|
||||
- 'spec/**/*.rb'
|
||||
|
||||
Metrics/LineLength:
|
||||
Max: 100
|
||||
|
||||
Naming/FileName:
|
||||
Exclude:
|
||||
- 'lib/*.rb'
|
||||
IgnoredMethods: ['describe', 'context', 'shared_examples']
|
||||
|
||||
Ссылка в новой задаче
Block a user