Files
vscode-extension-samples/lsp-multi-server-sample/package.json
Matt Bierner 42e83bf2f3 Bump eslint versions and update lint scripts
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
2022-11-04 13:52:32 -07:00

70 lines
1.6 KiB
JSON

{
"name": "lsp-sample-multi-server",
"description": "A multi server LSP example",
"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": [
"multi-root ready"
],
"engines": {
"vscode": "^1.52.0"
},
"activationEvents": [
"onLanguage:plaintext"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Multi LSP configuration",
"properties": {
"lspMultiServerSample.enable": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Controls the enablement."
},
"lspMultiServerSample.options": {
"scope": "resource",
"type": "object",
"default": {},
"description": "Additional options."
},
"lspMultiServerSample.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VSCode and the language server."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
},
"devDependencies": {
"@types/mocha": "^5.2.0",
"@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"
}
}