Skip to content

Commit

Permalink
Merge pull request markedjs#1086 from UziTech/travis-lint
Browse files Browse the repository at this point in the history
test lint instead of fixing it in travis
  • Loading branch information
joshbruce authored Feb 26, 2018
2 parents c583e4d + 6acf40b commit 3ce84f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3ce84f7

Please sign in to comment.