From 356395139c5bf692401c32d7512c1d74563413a7 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 27 Feb 2020 10:40:53 +0100 Subject: Actually gate CI on eslint --- editors/code/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index 8e58d6b77..8892f56ee 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -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", -- cgit v1.2.3