Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1C57F200D0E for ; Tue, 26 Sep 2017 20:01:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1ACA41609EA; Tue, 26 Sep 2017 18:01:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 58C461609C4 for ; Tue, 26 Sep 2017 20:01:25 +0200 (CEST) Received: (qmail 42776 invoked by uid 500); 26 Sep 2017 18:01:24 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 42764 invoked by uid 99); 26 Sep 2017 18:01:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2017 18:01:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 011C9F5549; Tue, 26 Sep 2017 18:01:24 +0000 (UTC) From: audreyso To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-js pull request #149: CB-12895 : added eslint to repo Content-Type: text/plain Message-Id: <20170926180124.011C9F5549@git1-us-west.apache.org> Date: Tue, 26 Sep 2017 18:01:24 +0000 (UTC) archived-at: Tue, 26 Sep 2017 18:01:26 -0000 Github user audreyso commented on a diff in the pull request: https://github.com/apache/cordova-js/pull/149#discussion_r141135727 --- Diff: package.json --- @@ -15,6 +15,7 @@ "url": "https://issues.apache.org/jira/browse/CB" }, "scripts": { + "eslint": "eslint src test", --- End diff -- If I do `npm run eslint pkg/`, it will reveal all of the pkg/ errors. I can reduce some errors using --fix (mostly indenting errors) but the rest would have to be fixed manually. I won't be able to change/fix anything, however, unless I can check in the pkg/ directory though. If I run `npm run eslint` without specifying pkg, it will just ignore it. Hmm... --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org