From cc649e979346419aa4b3f75a2143063b41ba53a9 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Fri, 11 Aug 2017 12:05:55 -0700 Subject: [PATCH] lint with closure as well --- .travis.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cdb0129741..23c230d2a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ before_script: - export PATH=$HOME/bin:$PATH - npm install -g bower gulp-cli@1 - bower install -- gulp lint +- npm run lint script: - xvfb-run wct - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s 'windows 10/microsoftedge@14' -s 'windows 8.1/internet explorer@11' -s 'os x 10.11/safari@9' -s 'macos 10.12/safari@10' -s 'Linux/chrome@41'; fi diff --git a/package.json b/package.json index ce532a1750..9d1c72d1de 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ }, "scripts": { "build": "gulp", - "test": "gulp lint && wct" + "test": "npm run lint && wct", + "lint": "gulp lint lint-closure" }, "repository": { "type": "git",