Skip to content

Commit fc89b28

Browse files
committed
fix typecheck error
1 parent 0ebc38e commit fc89b28

File tree

16 files changed

+0
-88
lines changed

16 files changed

+0
-88
lines changed

workspaces/adventure-pack/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"copy-webpack-plugin": "12.0.2",
7979
"cross-env": "7.0.3",
8080
"eslint": "9.14.0",
81-
"fork-ts-checker-webpack-plugin": "9.0.2",
8281
"jest": "29.7.0",
8382
"prettier": "3.3.3",
8483
"prettier-plugin-java": "2.6.5",

workspaces/adventure-pack/webpack.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { execSync } from "node:child_process";
22
import path from "node:path";
33

44
import CopyPlugin from "copy-webpack-plugin";
5-
import ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
65
import { DefinePlugin, type Configuration } from "webpack";
76

87
import { WEB_APP_DIST } from "./src/scripts/build/constants.ts";
@@ -50,15 +49,6 @@ const config: Configuration = {
5049
new CopyPlugin({ patterns: [{ from: "css", to: WEB_APP_DIST }] }),
5150
new WriteGoodiesJsonWebpackPlugin(),
5251
new WriteIndexHtmlWebpackPlugin(commitHash),
53-
54-
// allowUnreachableCode necessary for tsgo (exhaustive switch handling differs from tsc)
55-
new ForkTsCheckerWebpackPlugin({
56-
typescript: {
57-
configOverwrite: {
58-
compilerOptions: { allowUnreachableCode: true },
59-
},
60-
},
61-
}),
6252
],
6353

6454
optimization: {

workspaces/download-leetcode-submissions/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"@typescript/native-preview": "7.0.0-dev.20260217.1",
3636
"cross-env": "7.0.3",
3737
"eslint": "9.14.0",
38-
"fork-ts-checker-webpack-plugin": "9.0.2",
3938
"prettier": "3.3.3",
4039
"ts-loader": "9.5.1",
4140
"tsx": "4.19.2",

workspaces/download-leetcode-submissions/webpack.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
type Configuration,
77
type ExternalItemFunctionData,
88
} from "webpack";
9-
import ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
109

1110
import { WebpackMakeOutputExecutablePlugin } from "@code-chronicles/webpack-make-output-executable-plugin";
1211

@@ -63,15 +62,6 @@ const config: Configuration = {
6362
}),
6463

6564
new WebpackMakeOutputExecutablePlugin(),
66-
67-
// allowUnreachableCode necessary for tsgo (exhaustive switch handling differs from tsc)
68-
new ForkTsCheckerWebpackPlugin({
69-
typescript: {
70-
configOverwrite: {
71-
compilerOptions: { allowUnreachableCode: true },
72-
},
73-
},
74-
}),
7565
],
7666
};
7767

workspaces/fetch-leetcode-problem-list/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"@typescript/native-preview": "7.0.0-dev.20260217.1",
3434
"cross-env": "7.0.3",
3535
"eslint": "9.14.0",
36-
"fork-ts-checker-webpack-plugin": "9.0.2",
3736
"prettier": "3.3.3",
3837
"ts-loader": "9.5.1",
3938
"tsx": "4.19.2",

workspaces/fetch-leetcode-problem-list/webpack.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
type Configuration,
77
type ExternalItemFunctionData,
88
} from "webpack";
9-
import ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
109

1110
import { WebpackMakeOutputExecutablePlugin } from "@code-chronicles/webpack-make-output-executable-plugin";
1211

@@ -63,15 +62,6 @@ const config: Configuration = {
6362
}),
6463

6564
new WebpackMakeOutputExecutablePlugin(),
66-
67-
// allowUnreachableCode necessary for tsgo (exhaustive switch handling differs from tsc)
68-
new ForkTsCheckerWebpackPlugin({
69-
typescript: {
70-
configOverwrite: {
71-
compilerOptions: { allowUnreachableCode: true },
72-
},
73-
},
74-
}),
7565
],
7666
};
7767

workspaces/fetch-recent-accepted-leetcode-submissions/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"@typescript/native-preview": "7.0.0-dev.20260217.1",
3434
"cross-env": "7.0.3",
3535
"eslint": "9.14.0",
36-
"fork-ts-checker-webpack-plugin": "9.0.2",
3736
"prettier": "3.3.3",
3837
"ts-loader": "9.5.1",
3938
"tsx": "4.19.2",

workspaces/fetch-recent-accepted-leetcode-submissions/webpack.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
type Configuration,
77
type ExternalItemFunctionData,
88
} from "webpack";
9-
import ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
109

1110
import { WebpackMakeOutputExecutablePlugin } from "@code-chronicles/webpack-make-output-executable-plugin";
1211

@@ -63,15 +62,6 @@ const config: Configuration = {
6362
}),
6463

6564
new WebpackMakeOutputExecutablePlugin(),
66-
67-
// allowUnreachableCode necessary for tsgo (exhaustive switch handling differs from tsc)
68-
new ForkTsCheckerWebpackPlugin({
69-
typescript: {
70-
configOverwrite: {
71-
compilerOptions: { allowUnreachableCode: true },
72-
},
73-
},
74-
}),
7565
],
7666
};
7767

workspaces/leetcode-prettier-extension/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"@typescript/native-preview": "7.0.0-dev.20260217.1",
3535
"cross-env": "7.0.3",
3636
"eslint": "9.14.0",
37-
"fork-ts-checker-webpack-plugin": "9.0.2",
3837
"monaco-editor": "0.52.0",
3938
"ts-loader": "9.5.1",
4039
"tsx": "4.19.2",

workspaces/leetcode-prettier-extension/webpack.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import path from "node:path";
22

3-
import ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
43
import type { Configuration } from "webpack";
54
import { WebpackChromeExtensionManifestPlugin } from "@code-chronicles/webpack-chrome-extension-manifest-plugin";
65

@@ -38,15 +37,6 @@ const config: Configuration = {
3837
},
3938

4039
plugins: [
41-
// allowUnreachableCode necessary for tsgo (exhaustive switch handling differs from tsc)
42-
new ForkTsCheckerWebpackPlugin({
43-
typescript: {
44-
configOverwrite: {
45-
compilerOptions: { allowUnreachableCode: true },
46-
},
47-
},
48-
}),
49-
5040
new WebpackChromeExtensionManifestPlugin({
5141
name: "LeetCode Prettier Formatting",
5242
description: packageJson.description,

0 commit comments

Comments
 (0)