jdavisclark / JsFormat

Javascript formatting for Sublime Text 2 & 3
1.42k stars 222 forks source link

annoying format on save for JSON #124

Open dominic-ew opened 9 years ago

dominic-ew commented 9 years ago

It would be great to have a way to disable format on save only for JSON syntax. In my case it's annoying because it formats sublime text hotkeys preferences which don't need the same rules of formatting as for example, production javascript code.

kahwee commented 9 years ago

Yea, also bower.json and package.json uses spaces instead of tabs. When I have indent_with_tabs set to true. It affects bower.json as well. Can we have an exclude option?