From 6563fbd03e2f32078a12525f9751183f315910af Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 25 May 2020 16:04:06 -0400 Subject: [PATCH] Fixes problem matcher support --- .vscode/tasks.json | 4 ++-- tsconfig.json | 1 + webpack.config.js | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8f34c20..c54164f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -20,7 +20,7 @@ "type": "npm", "script": "build", "group": "build", - "problemMatcher": ["$ts-checker-webpack", "$ts-checker-eslint-webpack"] + "problemMatcher": ["$ts-checker5-webpack", "$ts-checker5-eslint-webpack"] }, { "type": "npm", @@ -36,7 +36,7 @@ "isDefault": true }, "isBackground": true, - "problemMatcher": ["$ts-checker-webpack-watch", "$ts-checker-eslint-webpack-watch"] + "problemMatcher": ["$ts-checker5-webpack-watch", "$ts-checker5-eslint-webpack-watch"] } ] } diff --git a/tsconfig.json b/tsconfig.json index 48f5088..b0dcb5e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "experimentalDecorators": true, "forceConsistentCasingInFileNames": true, + "incremental": true, "lib": ["es2019"], "module": "esnext", "moduleResolution": "node", diff --git a/webpack.config.js b/webpack.config.js index c575791..4b5e503 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -101,6 +101,7 @@ function getExtensionConfig(mode, env) { new ForkTsCheckerPlugin({ async: false, eslint: { enabled: true, files: 'src/**/*.ts', options: { cache: true } }, + formatter: 'basic', }), ]; @@ -227,6 +228,7 @@ function getWebviewsConfig(mode, env) { new ForkTsCheckerPlugin({ async: false, eslint: { enabled: true, files: path.resolve(__dirname, 'src/**/*.ts'), options: { cache: true } }, + formatter: 'basic', typescript: { tsconfig: path.resolve(__dirname, 'tsconfig.webviews.json'), },