Skip to content

Commit 3e6d3c5

Browse files
committed
Update dev dependencies
1 parent d0b3f69 commit 3e6d3c5

File tree

10 files changed

+2472
-4772
lines changed

10 files changed

+2472
-4772
lines changed

.eslintrc.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: 22
1717
- run: npm ci
18-
- run: npx eslint .
18+
- run: npx eslint
1919

2020
pack:
2121
runs-on: ubuntu-latest

eslint.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import config from '@remcohaszing/eslint'
2+
3+
export default [
4+
...config,
5+
{
6+
rules: {
7+
'import-x/no-extraneous-dependencies': 'off'
8+
}
9+
}
10+
]

example/scripts/json.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,19 @@ const completionOptions: createCompletionSource.Options = {
7474
section: 'Word completion',
7575
markdownToDom,
7676
triggerCharacters: '":',
77-
// @ts-expect-error https://github.com/microsoft/vscode-json-languageservice/pull/239
7877
doComplete(document, position) {
7978
return ls.doComplete(document, position, getJSONDocument(document))
8079
}
8180
}
8281

8382
const hoverTooltipOptions: createHoverTooltipSource.Options = {
8483
markdownToDom,
85-
// @ts-expect-error https://github.com/microsoft/vscode-json-languageservice/pull/239
8684
doHover(document, position) {
8785
return ls.doHover(document, position, getJSONDocument(document))
8886
}
8987
}
9088

9189
const lintOptions: createLintSource.Options = {
92-
// @ts-expect-error https://github.com/microsoft/vscode-json-languageservice/pull/239
9390
doDiagnostics(document) {
9491
return ls.doValidation(document, getJSONDocument(document))
9592
}

0 commit comments

Comments
 (0)