We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sample code: if (value > 10 || value < 5) {}
if (value > 10
|| value < 5)
{}
jshint said: Bad line breaking before '||'. This code work well in browsers. Why jshint think this is error?
Bad line breaking before '||'
same problem with: var name = "part1" + "-part2" + "-part3";
var name = "part1"
+ "-part2"
+ "-part3";
The text was updated successfully, but these errors were encountered:
You should use the laxbreak option.
Sorry, something went wrong.
Warning This option has been deprecated and will be removed in the next major release of JSHint.
This is the reason why I do not use it.
Related - #2625
No branches or pull requests
Sample code:
if (value > 10
|| value < 5)
{}
jshint said:
Bad line breaking before '||'
. This code work well in browsers. Why jshint think this is error?same problem with:
var name = "part1"
+ "-part2"
+ "-part3";
The text was updated successfully, but these errors were encountered: