mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +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
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"name": "lsp-embedded-language-service-sample",
|
|
"description": "A language server example using language services to support embedded languages",
|
|
"author": "Microsoft Corporation",
|
|
"license": "MIT",
|
|
"version": "1.0.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"publisher": "vscode-samples",
|
|
"categories": [],
|
|
"keywords": [],
|
|
"engines": {
|
|
"vscode": "^1.74.0"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:html1"
|
|
],
|
|
"main": "./client/out/extension",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "html1",
|
|
"extensions": [
|
|
".html1"
|
|
]
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "html1",
|
|
"scopeName": "text.html1.basic",
|
|
"path": "./syntaxes/html1.tmLanguage.json"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "cd client && npm install && cd .. && npm run compile",
|
|
"compile": "tsc -b",
|
|
"watch": "tsc -b -w",
|
|
"lint": "eslint",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/node": "^20",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0"
|
|
}
|
|
}
|