diff --git a/.eslintrc.json b/.eslintrc.json index ae39ca4189361b5e45f6e53a16a49c1c3bc4c9bc..4aa3042f867954b3801474652ff92c4befd603f9 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 72e3e60f4f0343b4a2c1c71831bb32dc26fc2df1..a3128b1e833600b8951e86eb2fbf1518aa25c3f3 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",