Skip to content

Commit 8e47758

Browse files
committed
Enabled Rubocop Layout/SpaceAroundEqualsInParameterDefault cop
1 parent 0122523 commit 8e47758

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.rubocop.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,4 +384,9 @@ Layout/SpaceBeforeBlockBraces:
384384
Layout/SpaceInsideBlockBraces:
385385
Enabled: true
386386
EnforcedStyle: space
387-
EnforcedStyleForEmptyBraces: space
387+
EnforcedStyleForEmptyBraces: space
388+
389+
# Supports --auto-correct
390+
Layout/SpaceAroundEqualsInParameterDefault:
391+
Description: Checks that the equals signs in parameter default assignments have or don't have surrounding space depending on configuration.
392+
Enabled: true

0 commit comments

Comments
 (0)