mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
* implement first idea on values with reasons * have ExplainedValues implement List by delegation * Parse explained value defaults * fix error message * [WIP] support ExplainedValues in yaml * print markdown value in DefaultValue directly * quote values in yaml maps * Update detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/ConfigProperty.kt Co-authored-by: Brais Gabín <braisgabin@gmail.com> * Update detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/ConfigProperty.kt Co-authored-by: Brais Gabín <braisgabin@gmail.com> * add test case for missing reason * fail fast in case of invalid configuration * rename explainedValues to valuesWithReason * add api documentation * resolve and suppress code smells * suppress UNCHECKED_CAST * merge RuleCollectorSpec * reformat spec * fix indentation of test code Co-authored-by: Markus Schwarz <post@markus-schwarz.net> Co-authored-by: Brais Gabín <braisgabin@gmail.com>