Conflicting string-template-indent
and function-signature
rules
#2592
Milestone
string-template-indent
and function-signature
rules
#2592
Expected Behavior
Given the following config:
And the following code:
I would expect that the
function-signature
rule is ignored and thestring-template-indent
rule takes precedence. (Alternativelystring-template-indent
is ignored, but I feel thatstring-template-indent
should take precedence.)Observed Behavior
ktlint cannot format the given code, as it either violates
function-signature
orstring-template-indent
.Steps to Reproduce
Run
ktlint --format
on the given snippet.Your Environment
.editorconfig
settingsThe text was updated successfully, but these errors were encountered: