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
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "code-tutor",
|
|
"displayName": "Code Tutor",
|
|
"description": "",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.93.0"
|
|
},
|
|
"categories": [
|
|
"AI",
|
|
"Chat"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"chatParticipants": [
|
|
{
|
|
"id": "chat-tutorial.code-tutor",
|
|
"fullName": "Code Tutor",
|
|
"name": "tutor",
|
|
"description": "What can I teach you?",
|
|
"isSticky": true,
|
|
"commands": [
|
|
{
|
|
"name": "exercise",
|
|
"description": "Provide exercises to practice a concept."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint",
|
|
"test": "node ./out/test/runTest.js"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/mocha": "^10.0.3",
|
|
"@types/node": "18.x",
|
|
"@types/vscode": "^1.93.0",
|
|
"@vscode/test-electron": "^2.3.6",
|
|
"eslint": "^9.13.0",
|
|
"glob": "^10.3.10",
|
|
"mocha": "^10.2.0",
|
|
"typescript": "^5.2.2",
|
|
"typescript-eslint": "^8.11.0"
|
|
}
|
|
}
|