summaryrefslogtreecommitdiff
path: root/std/examples/xeval.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/xeval.ts')
-rw-r--r--std/examples/xeval.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/std/examples/xeval.ts b/std/examples/xeval.ts
index 07c571cc7..97b373ab7 100644
--- a/std/examples/xeval.ts
+++ b/std/examples/xeval.ts
@@ -2,12 +2,10 @@
import { parse } from "../flags/mod.ts";
import { readStringDelim } from "../io/bufio.ts";
-/* eslint-disable-next-line max-len */
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction.
const AsyncFunction = Object.getPrototypeOf(async function (): Promise<void> {})
.constructor;
-/* eslint-disable max-len */
const HELP_MSG = `xeval
Run a script for each new-line or otherwise delimited chunk of standard input.
@@ -28,7 +26,6 @@ OPTIONS:
-I, --replvar <replvar> Set variable name to be used in eval, defaults to $
ARGS:
<code>`;
-/* eslint-enable max-len */
export type XevalFunc = (v: string) => void;