summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 5eb0d8b..b7a4759 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -41,3 +41,10 @@ Naming/MethodName:
EnforcedStyle: snake_case
Exclude:
- 'test/**/*'
+
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles, AutoCorrectEncodingComment.
+# SupportedStyles: when_needed, always, never
+Style/Encoding:
+ Enabled: true
+ EnforcedStyle: always