chore: eslint is no longer supported by the webpack ForkTsCheckerWebpackPlugin

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-01-20 10:35:44 +01:00
committed by Patrik Oldsberg
parent 663531d6af
commit 8dfb92b58f
3 changed files with 4 additions and 24 deletions
+1 -1
View File
@@ -107,7 +107,7 @@
"terser-webpack-plugin": "^5.1.3",
"util": "^0.12.3",
"webpack": "^5.66.0",
"webpack-dev-server": "4.7.3",
"webpack-dev-server": "^4.7.3",
"webpack-node-externals": "^3.0.0",
"yaml": "^1.10.0",
"yml-loader": "^2.1.0",
+2 -22
View File
@@ -93,17 +93,7 @@ export async function createConfig(
if (checksEnabled) {
plugins.push(
new ForkTsCheckerWebpackPlugin({
typescript: paths.targetTsConfig,
eslint: true,
eslintOptions: {
files: ['**', '!**/__tests__/**', '!**/?(*.)(spec|test).*'],
options: {
parserOptions: {
project: paths.targetTsConfig,
tsconfigRootDir: paths.targetPath,
},
},
},
typescript: { configFile: paths.targetTsConfig },
}),
);
}
@@ -350,17 +340,7 @@ export async function createBackendConfig(
...(checksEnabled
? [
new ForkTsCheckerWebpackPlugin({
typescript: paths.targetTsConfig,
eslint: true,
eslintOptions: {
files: ['**', '!**/__tests__/**', '!**/?(*.)(spec|test).*'],
options: {
parserOptions: {
project: paths.targetTsConfig,
tsconfigRootDir: paths.targetPath,
},
},
},
typescript: { configFile: paths.targetTsConfig },
}),
]
: []),
+1 -1
View File
@@ -24561,7 +24561,7 @@ webpack-dev-middleware@^5.3.0:
range-parser "^1.2.1"
schema-utils "^4.0.0"
webpack-dev-server@4.7.3:
webpack-dev-server@^4.7.3:
version "4.7.3"
resolved "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.7.3.tgz#4e995b141ff51fa499906eebc7906f6925d0beaa"
integrity sha512-mlxq2AsIw2ag016nixkzUkdyOE8ST2GTy34uKSABp1c4nhjZvH90D5ZRR+UOLSsG4Z3TFahAi72a3ymRtfRm+Q==