mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Update rubocop config to work again.
This commit is contained in:
parent
8c3375b299
commit
06eafbf859
4 changed files with 9 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@
|
|||
/pkg
|
||||
/rdoc
|
||||
/.yardoc
|
||||
/tmp
|
||||
|
|
2
.rubocop
Normal file
2
.rubocop
Normal file
|
@ -0,0 +1,2 @@
|
|||
--display-cop-names
|
||||
--fail-level=W
|
|
@ -110,10 +110,8 @@ Style/ConstantName:
|
|||
Metrics/CyclomaticComplexity:
|
||||
Max: 22
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/DeprecatedHashMethods:
|
||||
Enabled: false
|
||||
Style/PreferredHashMethods:
|
||||
EnforcedStyle: verbose
|
||||
|
||||
# TODO: docs
|
||||
# Offense count: 17
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
---
|
||||
inherit_from:
|
||||
- .rubocop-disables.yml
|
||||
|
||||
AllCops:
|
||||
Exclude:
|
||||
- 'tmp/*.rb'
|
||||
|
|
Loading…
Reference in a new issue