Skip to content

Commit e34bfea

Browse files
committed
Adds linting
1 parent ee8c529 commit e34bfea

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- npm install -g mongodb-runner
2424
- mongodb-runner start
2525
script:
26+
- npm run lint
2627
- npm test -- --maxWorkers=4
2728
- npm run integration
2829
after_script: ./node_modules/codecov/bin/codecov -f ./coverage/coverage-final.json && rm -rf ./coverage

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"build": "./build_releases.sh",
7272
"release": "./build_releases.sh && npm publish",
7373
"test": "PARSE_BUILD=node jest",
74+
"lint": "eslint --cache src/",
7475
"preintegration": "npm run build",
7576
"watch": "PARSE_BUILD=${PARSE_BUILD:=node} gulp watch",
7677
"integration": "TESTING=1 jasmine --config=jasmine.json",

0 commit comments

Comments
 (0)