mirror of
https://github.com/sexybiggetje/pixdisp.git
synced 2024-11-21 21:51:02 +01:00
Add eslint
This commit is contained in:
parent
3236310651
commit
38d395d587
2 changed files with 3 additions and 1 deletions
|
@ -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
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue