Skip to content

Conversation

greut
Copy link
Member

@greut greut commented May 18, 2020

Closes #45

// UnsetValue is the value that unsets a preexisting variable.
UnsetValue = "unset"
// OffValue is the value that disables max_length (non-standard).
OffValue = "off"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we use unset here too? What's the difference between toggling this off and unsetting it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unset means restore default value, this is more like a false.. but yeah...

https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that off is a bad naming... go-gitea/gitea#20694

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

max_line_length support
2 participants