Skip to content

Commit

Permalink
Move to latest version of LSP libs (#1919)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer authored Aug 13, 2024
1 parent ce24363 commit 2fbc0e9
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 43 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Version 3.0.13 - pre-release

- move to latest LSP libraries

### Version 3.0.11 - pre-release

- Enforcement of the validate setting. If the `eslint.validate` setting is specified only files in that list will be validated. For example, a setting of the form
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ This section describes major releases and their improvements. For a detailed lis

From version 2.2.3 on forward odd minor or patch version numbers indicate an insider or pre-release. So versions `2.2.3`, `2.2.5` and `2.3.1` will all be pre-release versions. `2.2.10`, `2.4.10` and `3.0.0` will all be regular release versions.

### Version 3.0.13 - pre-release

- move to latest LSP libraries

### Version 3.0.11 - pre-release

- Enforcement of the validate setting. If the `eslint.validate` setting is specified only files in that list will be validated. For example, a setting of the form
Expand Down
46 changes: 23 additions & 23 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/vscode": "1.91.0"
},
"dependencies": {
"vscode-languageclient": "10.0.0-next.9"
"vscode-languageclient": "10.0.0-next.12"
},
"scripts": {
"test": "node ../node_modules/mocha/bin/_mocha",
Expand Down
6 changes: 3 additions & 3 deletions client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from 'vscode';

import {
LanguageClient, LanguageClientOptions, TransportKind, ErrorHandler, CloseAction, RevealOutputChannelOn, ServerOptions, DocumentFilter,
LanguageClient, LanguageClientOptions, TransportKind, ErrorHandler, CloseAction, RevealOutputChannelOn, ServerOptions,
DidCloseTextDocumentNotification, DidOpenTextDocumentNotification, State, VersionedTextDocumentIdentifier, ExecuteCommandParams,
ExecuteCommandRequest, ConfigurationParams, NotebookDocumentSyncRegistrationType, DiagnosticPullMode, DocumentDiagnosticRequest
} from 'vscode-languageclient/node';
Expand Down Expand Up @@ -137,8 +137,8 @@ export namespace ESLintClient {
export function create(context: ExtensionContext, validator: Validator): [LanguageClient, () => void] {

// Filters for client options
const packageJsonFilter: DocumentFilter = { scheme: 'file', pattern: '**/package.json' };
const configFileFilter: DocumentFilter = { scheme: 'file', pattern: '**/{.eslintr{c.js,c.yaml,c.yml,c,c.json},eslint.confi{g.js,g.mjs,g.cjs}}' };
const packageJsonFilter: VDocumentFilter = { scheme: 'file', pattern: '**/package.json' };
const configFileFilter: VDocumentFilter = { scheme: 'file', pattern: '**/{.eslintr{c.js,c.yaml,c.yml,c,c.json},eslint.confi{g.js,g.mjs,g.cjs}}' };
const supportedQuickFixKinds: Set<string> = new Set([CodeActionKind.Source.value, CodeActionKind.SourceFixAll.value, `${CodeActionKind.SourceFixAll.value}.eslint`, CodeActionKind.QuickFix.value]);

// A map of documents synced to the server
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-eslint",
"displayName": "ESLint",
"description": "Integrates ESLint JavaScript into VS Code.",
"version": "3.0.11",
"version": "3.0.13",
"author": "Microsoft Corporation",
"license": "MIT",
"repository": {
Expand Down
24 changes: 12 additions & 12 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/semver": "^7.5.8"
},
"dependencies": {
"vscode-languageserver": "10.0.0-next.7",
"vscode-languageserver": "10.0.0-next.10",
"vscode-languageserver-textdocument": "1.0.11",
"vscode-uri": "^3.0.8",
"semver": "^7.6.0"
Expand Down

0 comments on commit 2fbc0e9

Please sign in to comment.