Skip to content

Commit 44d79fb

Browse files
committed
Update dev dependencies
1 parent b534eea commit 44d79fb

File tree

8 files changed

+2125
-6000
lines changed

8 files changed

+2125
-6000
lines changed

.eslintrc.yaml

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

eslint.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import config from '@remcohaszing/eslint'
2+
3+
export default [
4+
...config,
5+
{ ignores: ['**/*.json'] },
6+
{
7+
rules: {
8+
'import-x/no-extraneous-dependencies': 'off',
9+
'jsdoc/require-jsdoc': 'off',
10+
'n/no-extraneous-import': 'off',
11+
'unicorn/prefer-global-this': 'off'
12+
}
13+
}
14+
]

examples/demo/src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import './index.css'
2+
13
import { type JSONSchemaForSchemaStoreOrgCatalogFiles } from '@schemastore/schema-catalog'
24
import { editor, languages, MarkerSeverity, type Position, Range, Uri } from 'monaco-editor'
35
import * as monaco from 'monaco-editor'
@@ -6,7 +8,6 @@ import { OutlineModel } from 'monaco-editor/esm/vs/editor/contrib/documentSymbol
68
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js'
79
import { configureMonacoYaml, type SchemasSettings } from 'monaco-yaml'
810

9-
import './index.css'
1011
import schema from './schema.json'
1112

1213
window.MonacoEnvironment = {
@@ -163,8 +164,8 @@ select.addEventListener('change', () => {
163164
* The symbols to iterate.
164165
* @param position
165166
* The position for which to filter document symbols.
166-
* @yields
167-
* The document symbols that contain the given position.
167+
* @returns
168+
* The document symbols that contain the given position.
168169
*/
169170
function* iterateSymbols(
170171
symbols: languages.DocumentSymbol[],

fillers/ajv.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
export default class AJVStub {
2-
// eslint-disable-next-line class-methods-use-this
3-
validateSchema(): boolean {
4-
return true
5-
}
6-
7-
// eslint-disable-next-line class-methods-use-this
2+
// eslint-disable-next-line @typescript-eslint/class-methods-use-this
83
defaultMeta(): undefined {
94
// This is a stub
105
}
6+
7+
// eslint-disable-next-line @typescript-eslint/class-methods-use-this
8+
validateSchema(): boolean {
9+
return true
10+
}
1111
}

fillers/schemaSelectionHandlers.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* This is a stub for `monaco-yaml/lib/esm/schemaSelectionHandlers.js`.
33
*/
4-
// eslint-disable-next-line @typescript-eslint/no-empty-function
5-
export function JSONSchemaSelection(): void {}
4+
export function JSONSchemaSelection(): undefined {
5+
// This is a stub
6+
}

0 commit comments

Comments
 (0)