aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-07 02:25:34 +0200
committerEugen Wissner <belka@caraus.de>2026-10-07 02:25:34 +0200
commitf9dfefc52fc792099b622ae47dafa32d2512e51e (patch)
tree3be1fdc6d29bf04dc460684794ebfc566f7a2662 /.rubocop.yml
parente38f23a1bd6e0ee093655e1f241e524795f21fec (diff)
downloadelna-f9dfefc52fc792099b622ae47dafa32d2512e51e.tar.gz
Add some useful gems for ruby code
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