diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 00803230a2..1e461cabd0 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -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