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 May 24, 2019. It is now read-only.
Is it possible to supply an option to remove pragmas with corresponding comments completely, if comments have no other content but pragma only? Like: /* @flow foo */ → /* foo */,
but /* @flow */ → (empty string).
For now I got emptish comments in my generated code like this: /* */.
The text was updated successfully, but these errors were encountered:
Hey @StreetStrider@dashed, apologies for the long radio silence. I wonder: What's the impact of this issue? Does anything actually not work because we leave these empty comments in the output? I mean, I can see a case for this in --pretty mode, but still, it seems fairly benign to me.
@motiz88 nothing broken, it's just a matter of style. If the only reason I create comment is to put flow pragma in it, I would like this comment to be eleminated completely by something like flow pragma removing utility.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it possible to supply an option to remove pragmas with corresponding comments completely, if comments have no other content but pragma only? Like:
/* @flow foo */
→/* foo */
,but
/* @flow */
→ (empty string).For now I got emptish comments in my generated code like this:
/* */
.The text was updated successfully, but these errors were encountered: