Enable Style/StringChars from Rubocop 1.12.0 (#13246)

This commit is contained in:
rhymes 2021-04-06 16:51:37 +02:00 committed by GitHub
parent 38e44f5178
commit 8b9a2b7c73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'