Actually gate CI on eslint
This commit is contained in:
parent
ebeca1990e
commit
356395139c
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user