-
Notifications
You must be signed in to change notification settings - Fork 0
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
not respecting maxLength #72
Comments
Have you checked the ending-position option? |
yes, my config is endingPosition: 'absolute-with-indent', |
If so, please provide code that can reproduce the issue. The code provided above does not contain any lines longer than 120 characters, making it difficult to investigate the issue. |
Certainly,This is my file, if it can't, i will provide a live demo. |
The current line wrapping stage of this plugin does not handle characters following the class name. In this sense, the class name of
|
Get, Is it a bug or design?ESlint will throw a maximum-len error(121). I think this is a common case. |
Thinking back when I was implementing the However, regarding the In that sense, the current behavior is closer to a design than a bug. I'm thinking about performance optimization after releasing |
Current Behavior
When
maxLength
is set to 120 in the plugin configuration, it does not break lines for long class strings as expected.Expected Behavior
The plugin should break lines for class strings that exceed the specified
maxLength
.Steps to Reproduce
The text was updated successfully, but these errors were encountered: