sonarqube/.rubocop.yml

47 lines
690 B
YAML
Raw Normal View History

2020-08-23 08:54:24 +08:00
---
inherit_from: .rubocop_todo.yml
require: rubocop-performance
AllCops:
TargetRubyVersion: 2.5
NewCops: enable
2020-09-03 22:02:03 +08:00
Exclude:
- 'test.rb'
2020-08-23 08:54:24 +08:00
Layout/LineLength:
Max: 123
Exclude:
- 'lib/sonarqube/client/*'
- 'spec/**/*'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Exclude:
- 'lib/sonarqube/*'
- 'lib/sonarqube/client/*'
Lint/NonDeterministicRequireOrder:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/OptionalBooleanParameter:
Enabled: false
Lint/MissingSuper:
2020-09-03 22:02:03 +08:00
Enabled: false