Commit 258c001f by Matt Condon

feat: add linting to travis script

parent d07bdccc
...@@ -10,7 +10,8 @@ cache: ...@@ -10,7 +10,8 @@ cache:
before_script: before_script:
- truffle version - truffle version
script: script:
- npm test - npm run lint
- npm run test
notifications: notifications:
slack: slack:
rooms: rooms:
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"description": "Secure Smart Contract library for Solidity", "description": "Secure Smart Contract library for Solidity",
"scripts": { "scripts": {
"test": "scripts/test.sh", "test": "scripts/test.sh",
"lint": "eslint .",
"console": "truffle console", "console": "truffle console",
"coverage": "scripts/coverage.sh" "coverage": "scripts/coverage.sh"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment