mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
Require its specific version in `Gemfile`. Fix it's installation in CI. Enable new cops. Resolve new offenses. Drop support of Ruby 2.3 (it's not supported by RuboCop and by MRI:https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/) Deprecate `Faraday::Request#method`, replace it with `#http_method`.
44 lines
711 B
YAML
44 lines
711 B
YAML
inherit_from: .rubocop_todo.yml
|
|
|
|
require:
|
|
- rubocop-performance
|
|
|
|
AllCops:
|
|
DisplayCopNames: true
|
|
DisplayStyleGuide: true
|
|
TargetRubyVersion: 2.4
|
|
|
|
Metrics/BlockLength:
|
|
Exclude:
|
|
- spec/**/*.rb
|
|
- examples/**/*.rb
|
|
|
|
Layout/LineLength:
|
|
Exclude:
|
|
- spec/**/*.rb
|
|
- examples/**/*.rb
|
|
|
|
Layout/SpaceAroundMethodCallOperator:
|
|
Enabled: true
|
|
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
Style/Documentation:
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- 'examples/**/*'
|
|
|
|
Style/ExponentialNotation:
|
|
Enabled: true
|
|
Style/HashEachMethods:
|
|
Enabled: true
|
|
Style/HashTransformKeys:
|
|
Enabled: true
|
|
Style/HashTransformValues:
|
|
Enabled: true
|
|
|
|
Lint/RaiseException:
|
|
Enabled: true
|
|
Lint/StructNewOverride:
|
|
Enabled: true |