mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
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
52 lines
1.0 KiB
JSON
52 lines
1.0 KiB
JSON
{
|
|
"name": "code-tutor",
|
|
"displayName": "Code Tutor",
|
|
"description": "Your personal AI code tutor",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.93.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "code-tutor.annotate",
|
|
"title": "Toggle Tutor Annotations",
|
|
"icon": "$(comment)"
|
|
}
|
|
],
|
|
"menus": {
|
|
"editor/title": [
|
|
{
|
|
"command": "code-tutor.annotate",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint",
|
|
"test": "vscode-test"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/mocha": "^10.0.7",
|
|
"@types/node": "20.x",
|
|
"@types/vscode": "^1.93.0",
|
|
"@vscode/test-cli": "^0.0.9",
|
|
"@vscode/test-electron": "^2.4.0",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.4.5",
|
|
"typescript-eslint": "^8.11.0"
|
|
}
|
|
}
|