Files
codeocean/.rubocop/layout.yml
2023-01-18 10:48:53 +01:00

42 lines
786 B
YAML

# layout cop settings
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/CaseIndentation:
EnforcedStyle: end
SupportedStyles:
- case
- end
IndentOneStep: true
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
#
# There are good reasons for key as well as table style.
#
Layout/HashAlignment:
Enabled: false
Layout/LineLength:
Exclude:
- "config/**/*"
- "db/**/*"
- "spec/**/*"
Max: 120
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/SpaceInsideBlockBraces:
EnforcedStyle: space
EnforcedStyleForEmptyBraces: no_space
SpaceBeforeBlockParameters: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space