Skip to content

Commit

Permalink
docs: ignore unused variable errors in playground
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Dec 2, 2024
1 parent d9431ad commit a25afa2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/components/Editor/EditorMonaco.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,11 @@
defineMonacoTheme('css-variables')
monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions({
diagnosticCodesToIgnore: [6192],
noSemanticValidation: true,
noSyntaxValidation: true,
})
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
target: monaco.languages.typescript.ScriptTarget.ESNext,
jsx: monaco.languages.typescript.JsxEmit.React,
allowNonTsExtensions: true,
})
editor = monaco.editor.create(container, {
minimap: {
enabled: false,
Expand Down

0 comments on commit a25afa2

Please sign in to comment.