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 /pkg
/rdoc /rdoc
/.yardoc /.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: 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

View File

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