Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

definition: max_line_length support #66

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

definition: max_line_length support #66

wants to merge 6 commits into from

Conversation

greut
Copy link
Member

@greut greut commented May 18, 2020

Closes #45

@@ -16,6 +16,8 @@ const (
ConfigNameDefault = ".editorconfig"
// 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