diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-07 02:25:34 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-07 02:25:34 +0200 |
| commit | f9dfefc52fc792099b622ae47dafa32d2512e51e (patch) | |
| tree | 3be1fdc6d29bf04dc460684794ebfc566f7a2662 /.rubocop.yml | |
| parent | e38f23a1bd6e0ee093655e1f241e524795f21fec (diff) | |
| download | elna-f9dfefc52fc792099b622ae47dafa32d2512e51e.tar.gz | |
Add some useful gems for ruby code
Diffstat (limited to '.rubocop.yml')
| -rw-r--r-- | .rubocop.yml | 30 |
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 |
