From f9dfefc52fc792099b622ae47dafa32d2512e51e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 7 Oct 2026 02:25:34 +0200 Subject: Add some useful gems for ruby code --- .rubocop.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .rubocop.yml (limited to '.rubocop.yml') 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 -- cgit v1.2.3