summaryrefslogtreecommitdiff
path: root/docs/tools
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /docs/tools
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'docs/tools')
-rw-r--r--docs/tools/formatter.md4
-rw-r--r--docs/tools/script_installer.md2
2 files changed, 2 insertions, 4 deletions
diff --git a/docs/tools/formatter.md b/docs/tools/formatter.md
index 16a5a9ab4..aedb6bdc9 100644
--- a/docs/tools/formatter.md
+++ b/docs/tools/formatter.md
@@ -16,8 +16,6 @@ cat file.ts | deno fmt -
Ignore formatting code by preceding it with a `// deno-fmt-ignore` comment:
-<!-- prettier-ignore-start -->
-
```ts
// deno-fmt-ignore
export const identity = [
@@ -27,7 +25,5 @@ export const identity = [
];
```
-<!-- prettier-ignore-end -->
-
Or ignore an entire file by adding a `// deno-fmt-ignore-file` comment at the
top of the file.
diff --git a/docs/tools/script_installer.md b/docs/tools/script_installer.md
index 5f388fc6d..68db10d61 100644
--- a/docs/tools/script_installer.md
+++ b/docs/tools/script_installer.md
@@ -66,6 +66,8 @@ idiom to specify the entry point in an executable script.
Example:
+<!-- dprint-ignore -->
+
```ts
// https://example.com/awesome/cli.ts
async function myAwesomeCli(): Promise<void> {