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. --- core/encode_decode_test.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/encode_decode_test.js') diff --git a/core/encode_decode_test.js b/core/encode_decode_test.js index bbb52252e..b8a142ac5 100644 --- a/core/encode_decode_test.js +++ b/core/encode_decode_test.js @@ -1,4 +1,9 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +function assert(cond) { + if (!cond) { + throw Error("assert"); + } +} function assertArrayEquals(a1, a2) { if (a1.length !== a2.length) throw Error("assert"); -- cgit v1.2.3