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'