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
|
/pkg
|
||||||
/rdoc
|
/rdoc
|
||||||
/.yardoc
|
/.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:
|
Metrics/CyclomaticComplexity:
|
||||||
Max: 22
|
Max: 22
|
||||||
|
|
||||||
# Offense count: 1
|
Style/PreferredHashMethods:
|
||||||
# Cop supports --auto-correct.
|
EnforcedStyle: verbose
|
||||||
Style/DeprecatedHashMethods:
|
|
||||||
Enabled: false
|
|
||||||
|
|
||||||
# TODO: docs
|
# TODO: docs
|
||||||
# Offense count: 17
|
# Offense count: 17
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
---
|
---
|
||||||
inherit_from:
|
inherit_from:
|
||||||
- .rubocop-disables.yml
|
- .rubocop-disables.yml
|
||||||
|
|
||||||
|
AllCops:
|
||||||
|
Exclude:
|
||||||
|
- 'tmp/*.rb'
|
||||||
|
|
Loading…
Reference in a new issue