mihai-vlc / sublime-jsfmt

jsfmt plugin for Sublime Text
MIT License
477 stars 21 forks source link

JSCS configuration files as formatting rules. #3

Open ghost opened 10 years ago

ghost commented 10 years ago

Here's just a thought, enchancement of some sort.

You can use .jscsrc files from node-jscs in your plugin thus giving it more functionality ;). We use jscs in our company and it helped a lot setting one style in team and keeping it that way.

https://github.com/jscs-dev/node-jscs - here's link to repo.

paulirish commented 10 years ago

Yeah currently the rulesets for esformatter and jscs are not compatible. I do think someone could write a translator, though..

paulirish commented 10 years ago

If anyone is interested in creating a utility that can bridge the configuration of jscs and jsfmt, that'd be super useful!

AuthorProxy commented 9 years ago

Please use standard format of configuration files .jshint and .jscs, well-formed and unified across all developers. Don't construct your own bicycle for this. Thanks for your work.

paulirish commented 9 years ago

This has to happen upstream in Miller's projects but I think the idea itself is really good.

At the very least we should have a utility that can translate between the two rule formats.

On Tue, Nov 18, 2014 at 8:38 AM, Alex V. Kostyukov <notifications@github.com

wrote:

Please use standard format of configuration files .jshint and .jscs, well-formed and unified across all developers. Don't construct your own bicycle for this. Thanks for your work.

— Reply to this email directly or view it on GitHub https://github.com/ionutvmi/sublime-jsfmt/issues/3#issuecomment-63500584 .