Files
codeocean/.rubocop/style.yml
Sebastian Serth 379edbc12c Remove dedicated settings for Style/SymbolProc
Those settings have been removed with Rubocop 1.45 and are deprecated
2023-02-09 18:56:31 +01:00

75 lines
1.3 KiB
YAML

# style cop settings
#
# Nein. Period. Try to keep it English, but there *will* references using
# unicode characters.
#
Style/AsciiComments:
Enabled: false
#
# Both styles or mixtures are reasonable
#
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Enabled: false
#
# Maybe a bit uncommon for new devs and often results in heavily indented code
# blocks.
#
Style/ConditionalAssignment:
Enabled: false
#
# Would be better but unlikely...
#
Style/Documentation:
Enabled: false
#
# Okay for conditions, but false positive in return statements (e.g. APIs)
#
Style/DoubleNegation:
Enabled: false
#
# Our default string token has the '%{value}' format
#
Style/FormatStringToken:
EnforcedStyle: template
#
# Far to often easy to read without.
#
Style/GuardClause:
Enabled: false
#
# IfUnlessModifier has no own line length but we do not want it to force 120
# chars long modifiers just because we allow a few long lines.
#
Style/IfUnlessModifier:
Enabled: false
#
# Well, we do this. To often to disable them. Studid.
#
Style/MultilineBlockChain:
Enabled: false
#Style/NumericPredicate:
# Enabled: false
Style/RaiseArgs:
EnforcedStyle: compact
Style/SignalException:
EnforcedStyle: only_raise
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma