Merge pull request #9 from jimeh/run-linter-in-travis-ci

Run linter in travis ci
This commit is contained in:
2018-11-18 23:26:43 +00:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -10,3 +10,7 @@ node_js:
- "9" - "9"
- "10" - "10"
- "11" - "11"
script:
- npm run lint
- npm test

View File

@@ -29,7 +29,8 @@
"prettier": "^1.14.3" "prettier": "^1.14.3"
}, },
"scripts": { "scripts": {
"lint": "eslint . --fix", "lint": "eslint .",
"lint-fix": "eslint . --fix",
"test": "mocha" "test": "mocha"
} }
} }