summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
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/**/*'