From ce0d7058a6f4fca824a6fd949c1f5db313ca3c55 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Tue, 24 Dec 2019 13:23:57 +0100 Subject: [PATCH] add package.json script --- .eslintrc.json | 3 +-- package.json | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index ae39ca41893..4aa3042f867 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,8 +4,7 @@ "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 6, - "sourceType": "module", - "project": "./src/tsconfig.json" + "sourceType": "module" }, "plugins": [ "code-oss-eslint" diff --git a/package.json b/package.json index 72e3e60f4f0..a3128b1e833 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "monaco-compile-check": "tsc -p src/tsconfig.monaco.json --noEmit", "strict-function-types-watch": "tsc --watch -p src/tsconfig.json --noEmit --strictFunctionTypes", "update-distro": "node build/npm/update-distro.js", - "web": "node scripts/code-web.js" + "web": "node scripts/code-web.js", + "eslint": "eslint -c .eslintrc.json ./src/vs/ --ext .ts" }, "dependencies": { "applicationinsights": "1.0.8", -- GitLab