aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 0000000..d69ffc7
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,30 @@
+plugins:
+ - rubocop-rake
+
+AllCops:
+ TargetRubyVersion: 4.0
+ NewCops: enable
+ SuggestExtensions: false
+ Include:
+ - 'Rakefile'
+ - 'rakelib/**/*'
+
+Metrics/BlockLength:
+ AllowedMethods:
+ - namespace
+ - task
+
+Layout/ArgumentAlignment:
+ EnforcedStyle: with_fixed_indentation
+
+Layout/ParameterAlignment:
+ EnforcedStyle: with_fixed_indentation
+
+Layout/ArrayAlignment:
+ EnforcedStyle: with_fixed_indentation
+
+Layout/MultilineMethodCallIndentation:
+ EnforcedStyle: indented
+
+Layout/MultilineOperationIndentation:
+ EnforcedStyle: indented