Skip to content

Commit

Permalink
rubocop: enable Layout/SpaceInsideReferenceBrackets
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 28, 2023
1 parent d8f8b20 commit 059528a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .rubocop.yml
Expand Up @@ -2,15 +2,6 @@
inherit_from:
/usr/share/YaST2/data/devtools/data/rubocop-1.24.1_yast_style.yml

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBrackets: space, no_space
Layout/SpaceInsideReferenceBrackets:
Exclude:
- 'src/include/security/dialogs.rb'

# Offense count: 59
# Cop supports --auto-correct.
# Configuration parameters: IndentationWidth.
Expand Down
2 changes: 1 addition & 1 deletion src/include/security/dialogs.rb
Expand Up @@ -251,7 +251,7 @@ def OverviewText(type)
},
{
"id" => "net.ipv4.tcp_syncookies",
"is_secure" => Security.Settings[ "net.ipv4.tcp_syncookies" ]
"is_secure" => Security.Settings["net.ipv4.tcp_syncookies"]
},
{
"id" => "net.ipv4.ip_forward",
Expand Down

0 comments on commit 059528a

Please sign in to comment.