1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

rubocop: set Layout/SpaceInsideHashLiteralBraces parameters used more than others

git-svn-id: http://svn.redmine.org/redmine/trunk@18857 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-23 13:31:59 +00:00
parent 14e40505b7
commit f4b45f9074
2 changed files with 9 additions and 1 deletions

View File

@ -42,8 +42,9 @@ Layout/SpaceInsideBlockBraces:
EnforcedStyle: no_space EnforcedStyle: no_space
SpaceBeforeBlockParameters: false SpaceBeforeBlockParameters: false
# You can see results by "rubocop --only Layout/SpaceInsideHashLiteralBraces"
Layout/SpaceInsideHashLiteralBraces: Layout/SpaceInsideHashLiteralBraces:
Enabled: false EnforcedStyle: no_space
Layout/TrailingWhitespace: Layout/TrailingWhitespace:
AllowInHeredoc: true AllowInHeredoc: true

View File

@ -286,6 +286,13 @@ Layout/SpaceInsideArrayLiteralBrackets:
Layout/SpaceInsideBlockBraces: Layout/SpaceInsideBlockBraces:
Enabled: false Enabled: false
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle. # Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space # SupportedStyles: space, no_space