forked from denoland/deno_lint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import ansi-to-html and monaco-editor from npm
- Loading branch information
1 parent
bb1021d
commit 0a69b97
Showing
3 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { instantiate, run } from "../static/deno_lint.generated.js"; | ||
import { useEffect, useMemo } from "preact/hooks"; | ||
import { type Signal, useComputed, useSignal } from "@preact/signals"; | ||
import Convert from "https://esm.sh/v130/[email protected]"; | ||
import Convert from "npm:[email protected]"; | ||
import { type SupportedLanguages } from "./MonacoEditor.tsx"; | ||
import { unreachable } from "@std/assert/unreachable"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { useEffect, useRef } from "preact/hooks"; | ||
import { type Signal, useSignal } from "@preact/signals"; | ||
import loader, { | ||
type Monaco, | ||
} from "https://esm.sh/v130/@monaco-editor/[email protected]"; | ||
import loader, { type Monaco } from "npm:@monaco-editor/[email protected]"; | ||
|
||
export const supportedLanguages = [ | ||
"TypeScript", | ||
|