From fb8751fe5c346faf53895a7ac9173079773e2d37 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Sun, 27 Sep 2020 18:07:13 -0400 Subject: [PATCH] Disable Style/TrailingCommaInLiteral When this is enabled, trailing comma's for elements in a hash are not allowed. This is not the style that Puppet uses and causes code churn. This change would disable that functionality. --- rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubocop.yml b/rubocop.yml index dadb7e1..b7894b7 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -333,7 +333,7 @@ Style/TrailingCommaInArguments: Enabled: True Style/TrailingCommaInLiteral: - Enabled: True + Enabled: False Style/GlobalVars: Enabled: True