Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77AA1D3E0 for ; Wed, 10 Oct 2012 14:09:50 +0000 (UTC) Received: (qmail 82093 invoked by uid 500); 10 Oct 2012 14:09:50 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 82063 invoked by uid 500); 10 Oct 2012 14:09:50 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 82054 invoked by uid 99); 10 Oct 2012 14:09:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 14:09:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of purplecabbage@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-wg0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 14:09:44 +0000 Received: by mail-wg0-f43.google.com with SMTP id dq11so392876wgb.0 for ; Wed, 10 Oct 2012 07:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:mime-version:in-reply-to:date:message-id:subject:to :content-type; bh=2n9TLbFqISBpZ8vuxk1o0S3WYSF8sXyiXmL45Ojyvqw=; b=ctcXRuXUJ1olVUEhIQuX6YIf5IFhsJldlmAaiJZjrSVdyT6bf0kWq3eHB1IMuUEi7+ yYON/jD8gsLtG5axiFAg/yw811c6Ao+Pn0qnJEFbtywHm0B1OPeiAysMlrCSZZUrYfAe TkkVOOp1RGw7TdnFQKdwHX5YJ8+AY5Y497TBAz66xHOl5j/AtRPEzZlKSqe1v2+NBwlq jF1Pbw8eY4s2pQ2ozK93fIPbkmkKm7oq5AaMTwZbec7fn5taKzxA4AbbOZaF0RWdIpMp 5QUIaeHaMulmNCPknQceg2pUYCi6OdsB0VK1m5BnpGdAd9Byi2w/693To+MvbcRQFE9X Dbtw== Received: by 10.180.80.104 with SMTP id q8mr13287479wix.6.1349878163961; Wed, 10 Oct 2012 07:09:23 -0700 (PDT) References: From: Jesse MacFadyen Mime-Version: 1.0 (1.0) In-Reply-To: Date: Wed, 10 Oct 2012 07:12:03 -0700 Message-ID: <-7458487005205324107@unknownmsgid> Subject: Re: [DISCUSS] cordova.js and lint errors To: "callback-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 The packager tool should focus on packaging. IMHO Cheers, Jesse Sent from my iPhone6 On 2012-10-10, at 6:41 AM, Braden Shepherdson wrote: > +1 to having it as a pre-commit hook that's somewhat enforced. Everything > needs an override, but it's still great for these tools to be on by default > and to block a commit for (newly introduced) errors. > > > On Tue, Oct 9, 2012 at 6:14 PM, Patrick Mueller wrote: > >> Add whatever linter to dependencies in package.json, and call it before >> every build, from it's node_modules/.bin script. Isn't it lightning quick, >> just spews loads of messages? >> >> On Tue, Oct 9, 2012 at 5:47 PM, Andrew Grieve >> wrote: >> >>> I've been using a pre-commit check on the iOS repo to make sure I don't >>> check in crusty code, and I've really liked how this has gone. I get a >>> warm-and-fuzzy feeling from having a tool check my code before it gets >>> committed. >>> >>> My vote would be for more of this. E.g. create a hooks/pre-commit file, >> and >>> change the README.md to tell people to symlink it into their .git >>> directory. >>> I'd also like to see this enforce change descriptions having [platform] >> in >>> it, or else even the most diligent of us will eventually forget. >>> >>> >>> On Tue, Oct 9, 2012 at 5:35 PM, Gord Tanner wrote: >>> >>>> Since we had cleaned up the lint errors last week I have noticed a few >>>> more sneak in (including ones I have added :( ). >>>> >>>> Could we somehow enforce / ensure we have people running the jake >>>> command to check lint before commiting / merging? >>>> >>>> Ideally I would like to keep the number of lint errors to 0 to prevent >>>> the massive debt we have incurred so far. >> >> >> >> -- >> Patrick Mueller >> http://muellerware.org >>