1
0
Fork 0
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:
Andy Brody 2017-07-05 01:09:37 -04:00
parent 8c3375b299
commit 06eafbf859
4 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View file

@ -6,3 +6,4 @@
/pkg
/rdoc
/.yardoc
/tmp

2
.rubocop Normal file
View file

@ -0,0 +1,2 @@
--display-cop-names
--fail-level=W

View file

@ -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

View file

@ -1,3 +1,7 @@
---
inherit_from:
- .rubocop-disables.yml
AllCops:
Exclude:
- 'tmp/*.rb'