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
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
I ran the latest version 0.17.0 on a script that defines a RequireJS module.
It added one indentation step to the whole module, but the comment blocks didn't follow (just the first line).
Here's an example (with 4-space tabs):
define('zzz',['a','b','c'],function(a,b,c){/** * Does something. * @return {void} */functiondoSomething(){
...
}...});
became
define('zzz',['a','b','c'],function(a,b,c){/** * Does something. * @return {void} */functiondoSomething(){
...
}...});
It works properly when I test my code on the REPL though.
Can other packages interfere when Prettier runs in Atom?
The text was updated successfully, but these errors were encountered:
Hmm, this is strange. I'm not sure off the top of my head what the culprit here may be. To answer your question, yes other packages could interfere I suppose if you were using something like eslint's fix-on-save feature, but I'm not sure why that would cause this.
I ran the latest version
0.17.0
on a script that defines a RequireJS module.It added one indentation step to the whole module, but the comment blocks didn't follow (just the first line).
Here's an example (with 4-space tabs):
became
It works properly when I test my code on the REPL though.
Can other packages interfere when Prettier runs in Atom?
The text was updated successfully, but these errors were encountered: