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 },
}),
]
: []),