Add eslint

This commit is contained in:
Martijn de Boer 2018-01-07 09:30:44 +01:00
parent 3236310651
commit 38d395d587
2 changed files with 3 additions and 1 deletions

View File

@ -10,5 +10,6 @@ notifications:
after_success:
- npm i sidekick
- sidekick run --travis
- npm run lint
- npm install codeclimate-test-reporter
- codeclimate-test-reporter < __coverage__/lcov.info

View File

@ -15,7 +15,8 @@
"jest": "^22.0.4"
},
"scripts": {
"test": "jest"
"test": "jest",
"lint": "./node_modules/.bin/eslint drivers/* controllers/*"
},
"jest": {
"name": "pixdisp",