millermedeiros / esformatter

ECMAScript code beautifier/formatter
MIT License
970 stars 91 forks source link

how to disable all formatters #451

Closed graingert closed 8 years ago

graingert commented 8 years ago

I only want to use one specific formatter, what config will disable all the others?

millermedeiros commented 8 years ago

right now there is no way to do it..

we currently always change the indentation and there are some things that we do to the code that are not configurable.

https://github.com/millermedeiros/esformatter/issues/113 explains some of the things that would need to change to make this possible... but it is definitely not a trivial task.

millermedeiros commented 8 years ago

maybe for your specific case, setting all options as -1 would do the trick... but there will always be things that we change no matter what options are set.