summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-07-07 12:45:35 +0200
committerytti <saku@ytti.fi>2018-07-07 13:45:35 +0300
commit9db0c31f5656d1b689fd6261079730366f15591c (patch)
tree126079966b1d9eff0be48e55772150278a7f92c9 /.rubocop.yml
parent0dec0790f6e41cbeaf76de8fed106f7e845cd176 (diff)
use convenience methods in models
* use convenience methods in models for legibility * disable Style/SymbolProc in rubocop * introduce cut_both instead of cut_head.cut_tail chain * document cut_both convenience method
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index c9feb24..f1332c2 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -33,6 +33,9 @@ Style/RescueModifier:
Style/MultilineBlockChain:
Enabled: false
+Style/SymbolProc:
+ Enabled: false
+
# Do not attempt to police vendored code, and exclude special cases
AllCops:
Exclude: