-
-
Save navix/3143f785d40f33ca719f04710b18f4a7 to your computer and use it in GitHub Desktop.
How to run ESLint in you travis CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- "6" | |
script: | |
- npm run lint | |
- npm run build | |
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"scripts": { | |
"lint": "./node_modules/.bin/eslint **/*.js", | |
"build": "...", | |
"test": "..." | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment