diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-11-03 16:19:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 16:19:29 +0100 |
commit | 8e914be7420715620cad74fbb020c5e87ac875a2 (patch) | |
tree | 2fefc0111f85533de2bd24e54f70c6c1241e3d3b /std/examples/xeval.ts | |
parent | e736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff) |
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
Diffstat (limited to 'std/examples/xeval.ts')
-rw-r--r-- | std/examples/xeval.ts | 3 |
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; |