CppCXY / EmmyLuaCodeStyle

fast, powerful, and feature-rich Lua formatting and checking tool.
MIT License
140 stars 27 forks source link

Unlimited line length #115

Closed GiuseppeIII closed 1 year ago

GiuseppeIII commented 1 year ago

Is there a way to set the max_line_length to be unlimited?

Currently, even if the max_line_length is undefined. The code will get reformated to 120 chars long. I can obsviously just set this value super high, but I would rather not have a limit at all.

CppCXY commented 1 year ago

set max_line_length=unset but it mean length = 998

GiuseppeIII commented 1 year ago

Would there be any way for it to actually just not check for the line length at all?

CppCXY commented 1 year ago

Currently no, and the line width is intended to have no performance impact, my algorithm is very fast, and the current style check does not check the line width