ReturnCount 1.22.0 crashes on valid 1.21.0 config property excludedFunctions when using --all-rules cli flag #5323
Configuration without migration entry in changelog should work in next minor version.
Caused by: java.lang.IllegalStateException: Value "[equals]" set for config parameter "style > ReturnCount > excludedFunctions" is not of required type String.
Steps to Reproduce
# config.yaml ReturnCount: active: true max: 2 excludedFunctions: 'equals' excludeLabeled: false excludeReturnFromLambda: true excludeGuardClauses: false
The text was updated successfully, but these errors were encountered:
Nope there is no such test. All the tests are checking against a
The alternative approach here would be to deprecate
Hm, I see
Lines 300 to 311 in d516562
Lines 126 to 134 in 16b6658