xfiveco / generator-xh

A Yeoman generator for scaffolding web projects.
MIT License
55 stars 5 forks source link

Consider auto-formatting JS code to meet XHTMLized style guides #156

Open piotrkulpinski opened 9 years ago

piotrkulpinski commented 9 years ago

Hi guys, There is a new version of JSCS package which brings us option for auto-formatting our JS code to meet specific code standards. More about that topic here: https://medium.com/@addyosmani/auto-formatting-javascript-code-style-fe0f98a923b8

Maybe we should consider implementing it into our generator to auto-format JS according to our style guides?

luboskmetko commented 9 years ago

@piotrkulpinski sounds good to me, Piotrek. So you mean using this package https://github.com/jscs-dev/grunt-jscs?

piotrkulpinski commented 9 years ago

That's right. I assume it's official grunt plugin for JSCS.

thymikee commented 9 years ago

@piotrkulpinski, assigning this to you. This will go as a grunt:build task.