diff options
author | Steve Kemp <steve@steve.org.uk> | 2016-04-22 22:05:25 +0300 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2016-04-22 22:05:25 +0300 |
commit | 9366c1eda2967d6931efd6e73134dc79fb8a5cd2 (patch) | |
tree | 3498a027feacef099a824d91e6fb4c51e46a5ddf /.rubocop.yml | |
parent | a5ad0029b634a19d4d50e9f49c51903c2fa82208 (diff) |
Updated to fix the last remaining rubocop warnings.
This involved silencing a few issues that were judged to be minor,
and changing various whitespaces and function-calls. The most
obvious example was changing this:
assert(ret.kind_of? Array)
To this:
assert(ret.kind_of?(Array))
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 6fb8719..9e32091 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -48,7 +48,7 @@ Lint/UnreachableCode: # Offense count: 2 # Cop supports --auto-correct. Lint/UnusedBlockArgument: - Enabled: true + Enabled: false # Offense count: 3 # Cop supports --auto-correct. @@ -453,3 +453,16 @@ Style/VariableName: # Configuration parameters: WordRegex. Style/WordArray: MinSize: 2 + +Style/BlockDelimiters: + Enabled: false + + +Style/WordArray: + Enabled: false + +Style/MutableConstant: + Enabled: false + +Style/WhileUntilDo: + Enabled: false |