Skip to content

Commit 0cab01f

Browse files
Remove off variant from MaxLineLen property (#19)
Part of #17 Based on editorconfig/editorconfig#556 which explains that `off` is not a valid value and `unset` should be used instead.
1 parent 4ed2f3c commit 0cab01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/property.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ property_choice! {
148148

149149
property_valued! {TrimTrailingWs, "trim_trailing_whitespace", bool;}
150150
property_valued! {FinalNewline, "insert_final_newline", bool;}
151-
property_valued! {MaxLineLen, "max_line_length", usize; (Off, "off")}
151+
property_valued! {MaxLineLen, "max_line_length", usize;}
152152

153153
// As of the authorship of this comment, spelling_language isn't on the wiki.
154154
// Ooop.

0 commit comments

Comments
 (0)