chore: add linting, fix lint issues

This commit is contained in:
2018-03-28 14:42:28 -07:00
parent be536277c3
commit bef3104755
4 changed files with 9 additions and 8 deletions

View File

@@ -8,6 +8,7 @@
"package": "git checkout -B package-lib && npm run build && git add -f lib && git commit -m 'package lib' && echo Use npm to tag and publish",
"prepublish": "in-publish && npm run test || not-in-publish",
"test": "retire -n -p package.json && npm run build && npm run unit",
"lint": "eslint \"*.js\" \"src/**/*.js\"",
"unit": "nyc --require babel-core/register mocha test/src/**"
},
"author": "Joe Fleming (https://github.com/w33ble)",