From 00ac76a42cfe9f1617f64a44423f34a2327d0add Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Tue, 7 Feb 2023 12:57:22 +0100 Subject: [PATCH] L #-: Enforce brackets for ruby word arrays (cherry picked from commit cbcf309979542ca1aa4fb980faf2c7a361de019f) (cherry picked from commit 26c76a7307894e41d4315760ce2fbd8f1be5b525) --- share/linters/.rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/linters/.rubocop.yml b/share/linters/.rubocop.yml index a5342c24f6..ba2f938c66 100644 --- a/share/linters/.rubocop.yml +++ b/share/linters/.rubocop.yml @@ -788,6 +788,9 @@ Style/RedundantStringEscape: Style/ConcatArrayLiterals: Enabled: false +Style/WordArray: + EnforcedStyle: brackets + ###### # LINT ######