Run eslint on travis

This commit is contained in:
Rachel Fenichel
2017-10-31 12:58:00 -07:00
parent 13aa7bfb69
commit 75d0798e4a
2 changed files with 5 additions and 1 deletions

View File

@@ -28,5 +28,6 @@ before_script:
script:
- set -x
- npm run lint
- npm test
- cd tests/compile; compile.sh; cd ..

View File

@@ -17,7 +17,7 @@
"name": "Neil Fraser"
},
"scripts": {
"lint": "jshint .",
"lint": "eslint .",
"pretest": "tests/scripts/test_setup.sh",
"test": "node tests/jsunit/test_runner.js"
},
@@ -45,5 +45,8 @@
"npm": "^4.4.4",
"closure-library": "^1.43629075.2",
"webdriverio": "^4.6.2"
},
"devDependencies": {
"eslint": "2.9.0"
}
}