From 8b9a2b7c73e8501fe84345c1f4959d550a283bb6 Mon Sep 17 00:00:00 2001 From: rhymes Date: Tue, 6 Apr 2021 16:51:37 +0200 Subject: [PATCH] Enable Style/StringChars from Rubocop 1.12.0 (#13246) --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 9fc101d53..6b42dc1e5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -619,6 +619,10 @@ Style/SlicingWithRange: Description: 'Checks array slicing is done with endless ranges when suitable.' Enabled: true +Style/StringChars: + Description: 'Checks for uses of `String#split` with empty string or regexp literal argument.' + Enabled: true + Style/StringConcatenation: Description: 'Checks for places where string concatenation can be replaced with string interpolation.' StyleGuide: '#string-interpolation'