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/testing/asserts.ts | 2 +- std/testing/asserts_test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'std/testing') diff --git a/std/testing/asserts.ts b/std/testing/asserts.ts index 55c647d04..eefa8c4f4 100644 --- a/std/testing/asserts.ts +++ b/std/testing/asserts.ts @@ -8,7 +8,7 @@ import { diff, DiffResult, DiffType } from "./_diff.ts"; const CAN_NOT_DISPLAY = "[Cannot display]"; interface Constructor { - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any new (...args: any[]): any; } diff --git a/std/testing/asserts_test.ts b/std/testing/asserts_test.ts index 4f153e78c..5fefb5649 100644 --- a/std/testing/asserts_test.ts +++ b/std/testing/asserts_test.ts @@ -747,7 +747,7 @@ Deno.test({ assertArrayIncludes([true, false], [true]); const value = { x: 1 }; assertStrictEquals(value, value); - // eslint-disable-next-line @typescript-eslint/ban-types + // deno-lint-ignore ban-types assertNotStrictEquals(value, { x: 1 }); }, }); -- cgit v1.2.3