You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule should restrict the strings which contain \n or \r\n.
These symbols are OS dependent line separators, therefore if we are using them in code - it might be OS dependent code base.
These strings should be rewritten considering System.lineSeparator or String.format("%n").
The text was updated successfully, but these errors were encountered:
@dgroup/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!
@yegor256
We have a "Windows line endings are not allowed" rule.
If I understand correctly, this is done on purpose so that the project has the same line separator.
Do you want to accept any line separator or should it depend on configuration properties?
The rule should restrict the strings which contain
\n
or\r\n
.These symbols are OS dependent line separators, therefore if we are using them in code - it might be OS dependent code base.
These strings should be rewritten considering
System.lineSeparator
orString.format("%n")
.The text was updated successfully, but these errors were encountered: