1
0
Fork 0
mirror of https://github.com/sexybiggetje/pixdisp.git synced 2024-11-21 21:51:02 +01:00

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: after_success:
- npm i sidekick - npm i sidekick
- sidekick run --travis - sidekick run --travis
- npm run lint
- npm install codeclimate-test-reporter - npm install codeclimate-test-reporter
- codeclimate-test-reporter < __coverage__/lcov.info - codeclimate-test-reporter < __coverage__/lcov.info

View file

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