Actually gate CI on eslint

This commit is contained in:
Aleksey Kladov 2020-02-27 10:40:53 +01:00
parent ebeca1990e
commit 356395139c
2 changed files with 3 additions and 2 deletions

View File

@ -110,7 +110,7 @@ jobs:
- run: npm audit
working-directory: ./editors/code
- run: npm run fmt
- run: npm run lint
working-directory: ./editors/code
- run: npm run package --scripts-prepend-node-path

View File

@ -23,7 +23,8 @@
"vscode:prepublish": "tsc && rollup -c",
"package": "vsce package -o rust-analyzer.vsix",
"watch": "tsc --watch",
"fmt": "tsfmt -r && eslint -c .eslintrc.js --ext ts ./src/ --fix"
"lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src",
"fix": "tsfmt -r && eslint -c .eslintrc.js --ext ts ./src --fix"
},
"dependencies": {
"jsonc-parser": "^2.1.0",