rubocop.yml: fix #: usage.

Also, do some automatic reformating.
This commit is contained in:
Mike McQuaid 2021-08-16 13:58:13 +01:00
parent e8b82bbe1e
commit 7bade41572
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -90,10 +90,10 @@ Naming/InclusiveLanguage:
# TODO: If possible, make this stricter.
slave:
AllowedRegex:
- "gitslave" # Used in formula `gitslave`
- "log_slave" # Used in formula `ssdb`
- "gitslave" # Used in formula `gitslave`
- "log_slave" # Used in formula `ssdb`
- "ssdb_slave" # Used in formula `ssdb`
- "var_slave" # Used in formula `ssdb`
- "var_slave" # Used in formula `ssdb`
- "patches/13_fix_scope_for_show_slave_status_data.patch" # Used in formula `mytop`
blacklist:
AllowedRegex:
@ -247,6 +247,11 @@ Layout/ArgumentAlignment:
Layout/CaseIndentation:
EnforcedStyle: end
# Need to allow #: for external commands.
Layout/LeadingCommentSpace:
Exclude:
- "Taps/*/*/cmd/*.rb"
# this is a bit less "floaty"
Layout/EndAlignment:
EnforcedStyleAlignWith: start_of_line