From 8e914be7420715620cad74fbb020c5e87ac875a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 3 Nov 2020 16:19:29 +0100 Subject: build: migrate to dlint (#8176) This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code. --- std/examples/xeval.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'std/examples/xeval.ts') 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 {}) .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 Set variable name to be used in eval, defaults to $ ARGS: `; -/* eslint-enable max-len */ export type XevalFunc = (v: string) => void; -- cgit v1.2.3