mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Migrate all samples to eslint 9
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
"compile": "npm run compile:extension && npm run compile:client",
|
||||
"compile:extension": "tsc -b",
|
||||
"compile:client": "webpack --mode production",
|
||||
"lint": "eslint src --ext .ts,.tsx",
|
||||
"lint": "eslint",
|
||||
"watch": "concurrently -r \"npm:watch:*\"",
|
||||
"watch:extension": "tsc -b --watch",
|
||||
"watch:client": "webpack --mode development --watch",
|
||||
@ -36,6 +36,8 @@
|
||||
"pretest": "npm run compile && npm run lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.13.0",
|
||||
"@stylistic/eslint-plugin": "^2.9.0",
|
||||
"@types/glob": "^7.1.3",
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^17.0.15",
|
||||
@ -43,17 +45,16 @@
|
||||
"@types/vscode": "^1.58.0",
|
||||
"@types/vscode-notebook-renderer": "^1.57.8",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.14.0",
|
||||
"@typescript-eslint/parser": "^7.14.0",
|
||||
"concurrently": "^5.3.0",
|
||||
"css-loader": "^4.2.0",
|
||||
"eslint": "^8.26.0",
|
||||
"eslint": "^9.13.0",
|
||||
"glob": "^7.1.7",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"style-loader": "^1.2.1",
|
||||
"ts-loader": "^9.4.2",
|
||||
"typescript": "^5.6.2",
|
||||
"typescript-eslint": "^8.11.0",
|
||||
"vscode-notebook-error-overlay": "^1.0.1",
|
||||
"webpack": "^5.38.1",
|
||||
"webpack-cli": "^4.7.0"
|
||||
|
||||
Reference in New Issue
Block a user