yasuyk / web-beautify

Format HTML, CSS and JavaScript/JSON by js-beautify
GNU General Public License v3.0
219 stars 21 forks source link

Not clear where .jsbeautifyrc should live #17

Open Epyon616 opened 8 years ago

Epyon616 commented 8 years ago

Hi I've just started playing with web-beautify in emacs and so far I think it's great , the only issue I'm having at the moment is that the formatting it is producing isn't quite correct for me, I have written a .jsbeautifyrc file as stated in the README, but I am unsure as to where it should be placed for web-beautify to make use of it?

I've tried placing it in the root of the project I am working on but it doesn't appear to be picking it up, have I missed something?

Thanks in advance

andyjac commented 8 years ago

@StealthyGecko Have been running into this same issue and would appreciate an answer if anyone out there has one. I also have my .jsbeautifyrc file in the root of my project, but web-beautify is still using the default rules.

dmitry-saritasa commented 8 years ago

I have the same problems. File in the root is not affecting the web-beautify