Can you give a concrete example? As in: I am using this command to format this file (filetype, how does it break, what are you using to format and/or beautify). I have no issues formatting Haskell, Javascript and CSS.
In this specific case, my guess is that react-beautify assumes all js files should follow react formatting conventions.
There are other silly examples like this, primarily centered around cases where the file extension doesn't necessarily imply a single choice of framework.
It would be nice if I could put all my angular plugins in one group, all my react plugins in another group, and then toggle them on or off depending on the project.
But the behavior you're describing are the standard beautify formatting rules. Prettier would probably do the same. That is the expected behavior and it is not related to any framework. If you don't like the way beautify formats your code you could look into the settings it offers. As far as I gather from your description everything is working the way it should.
2
u/Nrdrsr Mar 26 '18
What I find is formatting/beautifying completely breaks unless I disable all the irrelevant plugins.