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
from @derekchiang in jdc0589/JsFormat #75. I realize this is a continuation of #56 and #200, but was told to filed an issue regardless.
Consider this piece of code:
var whatever = require('whatever') function() {...}
Using JsFormat, this code will be formatted to:
var whatever = require('whatever') function() {...} // indentation at the beginning of the line
Specifically, it seems like whenever there is a bracket following by a function, JsFormat would indent the function definition (incorrectly).
function
The text was updated successfully, but these errors were encountered:
So, this code should look the same as if there was a semicolon in there:
var whatever = require('whatever'); function() {...}
Yes, this is related to #200, but we should see if we can fix it. Especially with keywords like function, but also for words in general.
var whatever = require('whatever') require('something-else')
Sorry, something went wrong.
c30247f
No branches or pull requests
from @derekchiang in jdc0589/JsFormat #75. I realize this is a continuation of #56 and #200, but was told to filed an issue regardless.
Consider this piece of code:
Using JsFormat, this code will be formatted to:
Specifically, it seems like whenever there is a bracket following by a
function
, JsFormat would indent the function definition (incorrectly).The text was updated successfully, but these errors were encountered: