diff --git a/ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/MaxLineLengthRule.kt b/ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/MaxLineLengthRule.kt index a191fdcec7..362a17f8ab 100644 --- a/ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/MaxLineLengthRule.kt +++ b/ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/MaxLineLengthRule.kt @@ -100,10 +100,11 @@ class MaxLineLengthRule : public val ignoreBackTickedIdentifierProperty: UsesEditorConfigProperties.EditorConfigProperty = UsesEditorConfigProperties.EditorConfigProperty( - type = PropertyType( + type = PropertyType.LowerCasingPropertyType( /* name = */ KTLINT_IGNORE_BACKTICKED_IDENTIFIER_NAME, /* description = */ PROPERTY_DESCRIPTION, - /* parser = */ PropertyType.PropertyValueParser.BOOLEAN_VALUE_PARSER + /* parser = */ PropertyType.PropertyValueParser.BOOLEAN_VALUE_PARSER, + /* possibleValues = */ true.toString(), false.toString() ), defaultValue = false )