From 82d5aa882f2351842079985370fc48043c0d6fdf Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Tue, 8 Dec 2020 14:08:07 +0100 Subject: [PATCH] Disable Style/TrailingCommaInArguments Currently the trailing , in ```ruby it { is_expected.to contain_concat__fragment('nftables-inet-filter-chain-default_out-rule-dnsudp').with( target: 'nftables-inet-filter-chain-default_out', content: %r{^ udp dport 53 accept$}, order: '50-nftables-inet-filter-chain-default_out-rule-dnsudp-b', ) } ``` throws a warning. This is inconsistent with what is permitted in puppet. --- rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rubocop.yml b/rubocop.yml index b7894b7..f438c09 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -161,6 +161,9 @@ Style/BracesAroundHashParameters: Style/CaseEquality: Enabled: True +Style/TrailingCommaInArguments: + Enabled: False + Layout/CaseIndentation: Enabled: True