Skip to content

Commit 563711a

Browse files
authored
Update TS version (#7839)
1 parent d669f28 commit 563711a

File tree

3 files changed

+94
-137
lines changed

3 files changed

+94
-137
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4204,7 +4204,7 @@
42044204
"@types/lru-cache": "^5.1.0",
42054205
"@types/marked": "^0.7.2",
42064206
"@types/mocha": "^8.2.2",
4207-
"@types/node": "18.17.1",
4207+
"@types/node": "22",
42084208
"@types/react": "^16.8.4",
42094209
"@types/react-dom": "^16.8.2",
42104210
"@types/sinon": "7.0.11",
@@ -4227,7 +4227,7 @@
42274227
"eslint-plugin-import": "2.22.1",
42284228
"eslint-plugin-rulesdir": "^0.2.2",
42294229
"event-stream": "^4.0.1",
4230-
"fork-ts-checker-webpack-plugin": "6.1.1",
4230+
"fork-ts-checker-webpack-plugin": "9.1.0",
42314231
"glob": "7.1.6",
42324232
"graphql": "15.5.0",
42334233
"graphql-tag": "2.11.0",
@@ -4257,7 +4257,7 @@
42574257
"timers-browserify": "^2.0.12",
42584258
"ts-loader": "9.5.2",
42594259
"tty": "1.0.1",
4260-
"typescript": "4.5.5",
4260+
"typescript": "^5.9.2",
42614261
"typescript-formatter": "^7.2.2",
42624262
"vinyl-fs": "^3.0.3",
42634263
"webpack": "5.94.0",

webpack.config.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ async function getWebviewConfig(mode, env, entry) {
5858
}),
5959
new ForkTsCheckerPlugin({
6060
async: false,
61-
eslint: {
62-
enabled: true,
63-
files: path.join(basePath, '**', '*.ts'),
64-
options: { cache: true, configFile: path.join(__dirname, '.eslintrc.webviews.json') },
65-
},
6661
formatter: 'basic',
6762
typescript: {
6863
configFile: path.join(__dirname, 'tsconfig.webviews.json'),
@@ -171,17 +166,6 @@ async function getExtensionConfig(target, mode, env) {
171166
}),
172167
new ForkTsCheckerPlugin({
173168
async: false,
174-
eslint: {
175-
enabled: true,
176-
files: path.join(basePath, '**', '*.ts'),
177-
options: {
178-
cache: true,
179-
configFile: path.join(
180-
__dirname,
181-
target === 'webworker' ? '.eslintrc.browser.json' : '.eslintrc.node.json',
182-
),
183-
},
184-
},
185169
formatter: 'basic',
186170
typescript: {
187171
configFile: path.join(__dirname, target === 'webworker' ? 'tsconfig.browser.json' : 'tsconfig.json'),

0 commit comments

Comments
 (0)