gruntfile-editor icon indicating copy to clipboard operation
gruntfile-editor copied to clipboard

Need a way to configure indent styles

Open maxtherocket opened this issue 10 years ago • 1 comments

Is there a way to configure indent styles? Right now the generated Gruntfile.js used 4 spaces for tabs, I'd like to configure it to use 2 spaces.

I noticed there is an indent configuration option in escodegen https://github.com/estools/escodegen/wiki/API

Is there a way to set the configuration on escodegen through gruntfile-editor?

maxtherocket avatar Apr 02 '15 17:04 maxtherocket

You can run the output code in a beautifier.

SBoudrias avatar Apr 02 '15 18:04 SBoudrias