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
I'm trying to add a check to our CI to make sure any changed files are "beautiful" before they can pass the build but i'm noticing that atom-beautify has a subtly different output to js-beautify
atom beautify:
function _getChat(name) {
Chat.findOne({
"name": name,
type: "add"
}).exec()
.then(function(chatRequest) {
//do things
});
}
js-beautify:
function _getChat(name) {
Chat.findOne({
"name": name,
type: "add"
}).exec()
.then(function(chatRequest) {
//do things
});
}
I know it's subtle but essentially the following 3 lines have an extra 4 indent characters (spaces) in the js-beautify version:
"name": name,
type: "add"
}).exec()
I can't find a setting that seems to suggest it could affect this, any guidance would be much appreciated.
The text was updated successfully, but these errors were encountered:
I'm trying to add a check to our CI to make sure any changed files are "beautiful" before they can pass the build but i'm noticing that atom-beautify has a subtly different output to js-beautify
atom beautify:
js-beautify:
I know it's subtle but essentially the following 3 lines have an extra 4 indent characters (spaces) in the js-beautify version:
I can't find a setting that seems to suggest it could affect this, any guidance would be much appreciated.
The text was updated successfully, but these errors were encountered: