From 6acf40bf5725115b906d71acf3c607c7b743223b Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Mon, 26 Feb 2018 16:23:55 -0600 Subject: [PATCH] test lint instead of fixing it in travis --- .travis.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f4352ddf29..8f089ff869 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ script: | sed -i s/0o755/0755/ test/index.js; npm test; else - npm run lint && npm test; + npm run test:lint && npm test; fi cache: directories: diff --git a/package.json b/package.json index 58f8394798..e336f744fa 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ }, "scripts": { "test": "node test", + "test:lint": "eslint lib/marked.js test/index.js", "bench": "node test --bench", "lint": "eslint --fix lib/marked.js test/index.js", "build": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",