From 58c08c04b4eaf05191d1bd0924289619e1f18ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Mon, 28 Feb 2022 09:09:09 -1000 Subject: [PATCH] Tweak rubocop configuration Adjust the configuration to better match ccin2p3 conventions. Fixes https://github.com/ccin2p3/puppet-syslog_ng/issues/24 Fixes https://github.com/ccin2p3/puppet-syslog_ng/issues/25 --- moduleroot/.rubocop.yml.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/moduleroot/.rubocop.yml.erb b/moduleroot/.rubocop.yml.erb index 53ac1898..aebb8e56 100644 --- a/moduleroot/.rubocop.yml.erb +++ b/moduleroot/.rubocop.yml.erb @@ -4,3 +4,9 @@ inherit_gem: voxpupuli-test: rubocop.yml + +Style/TrailingCommaInArguments: + EnforcedStyleForMultiline: consistent_comma + +Style/WordArray: + EnforcedStyle: brackets