mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Run eslint on travis
This commit is contained in:
@@ -28,5 +28,6 @@ before_script:
|
||||
|
||||
script:
|
||||
- set -x
|
||||
- npm run lint
|
||||
- npm test
|
||||
- cd tests/compile; compile.sh; cd ..
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user