mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Pick up latest eslint to avoid a nasty warning about using an unsupported version of TS Also updates the eslint script to be more scoped on which files it checks
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"enabledApiProposals": [
|
|
"inlineCompletions"
|
|
],
|
|
"name": "inline-completion-sample",
|
|
"displayName": "Inline Completion Sample",
|
|
"description": "Sample showing how to implement an inline completion provider",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode-samples",
|
|
"repository": "https://github.com/Microsoft/vscode-extension-samples",
|
|
"engines": {
|
|
"vscode": "^1.67.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "extension.inline-completion-settings",
|
|
"title": "Inline Completion Settings"
|
|
}
|
|
],
|
|
"menus": {
|
|
"editor/inlineCompletions/actions": [
|
|
{
|
|
"command": "extension.inline-completion-settings"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"lint": "eslint \"src/**/*.ts\"",
|
|
"watch": "tsc -watch -p ./",
|
|
"download-api": "vscode-dts dev",
|
|
"postdownload-api": "vscode-dts main",
|
|
"postinstall": "npm run download-api"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"eslint": "^8.26.0",
|
|
"typescript": "^4.8.4",
|
|
"vscode-dts": "^0.3.3"
|
|
}
|
|
}
|