Sha256: da8cf7fb4b30af0191973787581adc4e93f18c752a9092c87cd6b0651cc2d13e

Contents?: true

Size: 1.51 KB

Versions: 15

Compression:

Stored size: 1.51 KB

Contents

# Align `when` with `case`.
Layout/CaseIndentation:
  Enabled: true

# Align comments with method definitions.
Layout/CommentIndentation:
  Enabled: true

# No extra empty lines.
Layout/EmptyLines:
  Enabled: true

# Use empty lines between definitions.
Layout/EmptyLineBetweenDefs:
  Enabled: true

# Two spaces, no tabs (for indentation).
Layout/IndentationWidth:
  Enabled: true

Layout/SpaceAfterColon:
  Enabled: true

Layout/SpaceAfterComma:
  Enabled: true

Layout/SpaceAroundEqualsInParameterDefault:
  Enabled: true

Layout/SpaceAroundKeyword:
  Enabled: true

Layout/SpaceAroundOperators:
  Enabled: true

Layout/SpaceBeforeFirstArg:
  Enabled: true

# Use `foo {}` not `foo{}`.
Layout/SpaceBeforeBlockBraces:
  Enabled: true

# Use `foo { bar }` not `foo {bar}`.
Layout/SpaceInsideBlockBraces:
  Enabled: true

# Use `{ a: 1 }` not `{a:1}`.
Layout/SpaceInsideHashLiteralBraces:
  Enabled: true

Layout/SpaceInsideParens:
  Enabled: true

# Detect hard tabs, no hard tabs.
Layout/IndentationStyle:
  Enabled: true

# Blank lines should not have any spaces.
Layout/TrailingEmptyLines:
  Enabled: true

# No trailing whitespace.
Layout/TrailingWhitespace:
  Enabled: true

Layout/BlockAlignment:
  Enabled: true

# Align `end` with the matching keyword or starting expression except for
# assignments, where it should be aligned with the LHS.
Layout/EndAlignment:
  Enabled: true
  EnforcedStyleAlignWith: variable

Layout/MultilineMethodCallIndentation:
  Enabled: true
  EnforcedStyle: indented

Layout/HashAlignment:
  Enabled: true

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rubocop-discourse-3.10.0 rubocop-layout.yml
rubocop-discourse-3.9.3 rubocop-layout.yml
rubocop-discourse-3.9.2 rubocop-layout.yml
rubocop-discourse-3.9.1 rubocop-layout.yml
rubocop-discourse-3.9.0 rubocop-layout.yml
rubocop-discourse-3.8.6 rubocop-layout.yml
rubocop-discourse-3.8.5 rubocop-layout.yml
rubocop-discourse-3.8.4 rubocop-layout.yml
rubocop-discourse-3.8.3 rubocop-layout.yml
rubocop-discourse-3.8.2 rubocop-layout.yml
rubocop-discourse-3.8.1 rubocop-layout.yml
rubocop-discourse-3.7.1 rubocop-layout.yml
rubocop-discourse-3.7.0 rubocop-layout.yml
rubocop-discourse-3.6.1 rubocop-layout.yml
rubocop-discourse-3.6.0 rubocop-layout.yml