cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Clelland <iclell...@chromium.org>
Subject Re: [Proposal] Cordova guidelines part of ContributorWorkflow
Date Tue, 17 Jun 2014 01:52:29 GMT
/* jshint laxcomma: true */

at the top of a JS file should do it.

Ref: http://www.jshint.com/docs/options/#laxcomma


On Mon, Jun 16, 2014 at 9:34 PM, Andrew Grieve <agrieve@chromium.org> wrote:

> I haven't seen our style guide followed, and generally don't think style is
> a thing that can really be enforced without tools or code review. How about
> deleting the wiki page and doubling down on jshint? Can we tell jshint to
> force ;s while allowing comma-first?
>
>
> On Mon, Jun 16, 2014 at 5:00 PM, Mark Koudritsky <kamrik@google.com>
> wrote:
>
> > To make it clear, I don't really care whether to use semicolons or not,
> but
> > I do want cordova to have a style guide which I can follow without
> > surprising people too much. Which is obviously not the case with our
> > current style guide :)
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message