-
Notifications
You must be signed in to change notification settings - Fork 111
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
qulicecheckstyle: Prohibit the strings which contains \n
or \r\n
#962
Comments
@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 |
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: