summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorWild Kat <wk@futureinquestion.net>2018-04-25 18:43:23 +0200
committerWild Kat <wk@futureinquestion.net>2018-04-25 18:43:23 +0200
commit5e31f4bc028f0e0bd6aade771fe10a3cc6d2a5fa (patch)
treeb2d4c975731c8c5edb1940096e6676ca93ba672d /.rubocop.yml
parent60c3408bfc0f6aa5a89013f99e0763719440f29b (diff)
fine tune rubocop to yttis exacting specifications
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index bc013cd..f43ca42 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -17,6 +17,17 @@ Style/PreferredHashMethods:
Style/Not:
Enabled: false
+# comply with @ytti's exacting specifications
+Style/CommandLiteral:
+ EnforcedStyle: percent_x
+
+Style/FormatString:
+ EnforcedStyle: percent
+
+Style/FormatStringToken:
+ EnforcedStyle: unannotated
+
+# Do not attempt to police vendored code, and exclude special cases
AllCops:
Exclude:
- 'vendor/**/*'