Skip to content

Commit 4252cad

Browse files
authored
Merge pull request #1086 from UziTech/travis-lint
test lint instead of fixing it in travis
2 parents f53dd11 + 2953012 commit 4252cad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script: |
99
sed -i s/0o755/0755/ test/index.js;
1010
npm test;
1111
else
12-
npm run lint && npm test;
12+
npm run test:lint && npm test;
1313
fi
1414
cache:
1515
directories:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
},
3939
"scripts": {
4040
"test": "node test",
41+
"test:lint": "eslint lib/marked.js test/index.js",
4142
"bench": "node test --bench",
4243
"lint": "eslint --fix lib/marked.js test/index.js",
4344
"build": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",

0 commit comments

Comments
 (0)