Skip to content

Commit

Permalink
lint and solium stuff (#24)
Browse files Browse the repository at this point in the history
* eslint rules for undef

* add solium to travis, remove cruft

* tabs to spaces, address Solium warnings
  • Loading branch information
celeduc authored and jamiehale committed Mar 28, 2018
1 parent fd3c239 commit 5d3e0c9
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 401 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
module.exports = {
"extends": "airbnb-base",
"globals" : {
"artifacts": false,
"contract": false,
"assert": false,
"web3": false
},
"rules": {
"max-len": ["error", { "code": 150 }]
}
};
};
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ install:
- npm install
script:
- npm run lint
- npm run solium
- npm test
after_script:
- npm run coverage && cat coverage/lcov.info | coveralls

0 comments on commit 5d3e0c9

Please sign in to comment.