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
It breaks after negation e.g.
if ( .... lots of conditions here ... && !someVar) {
becomes
if ( .... lots of conditions here ... && ! someVar) {
and also before property names e.g.
if ( .... lots of conditions here ... && someVar.someProperty) {
if ( .... lots of conditions here ... && someVar .someProperty) {
Both make the code way less readable. Perhaps it should only break on spaces? Or between logical operators e.g. && or ||?
&&
||
The text was updated successfully, but these errors were encountered:
ultimately this is going to be an einars/js-beautify issue. I'll open an issue up there and reference this one.
Sorry, something went wrong.
Having a similar issue with ES6 modules something like this
var App = function(){}; export default App;
turns into:
is this also a js-beautify issue?
@webbushka yes, but this is a separate issue. Looks like beautifier/js-beautify#382 is already open to address this.
No branches or pull requests
It breaks after negation e.g.
becomes
and also before property names e.g.
becomes
Both make the code way less readable. Perhaps it should only break on spaces? Or between logical operators e.g.
&&
or||
?The text was updated successfully, but these errors were encountered: