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/encoding/_yaml/example/sample_document.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'std/encoding/_yaml/example/sample_document.ts') diff --git a/std/encoding/_yaml/example/sample_document.ts b/std/encoding/_yaml/example/sample_document.ts index 8ef714d42..1284d2eff 100644 --- a/std/encoding/_yaml/example/sample_document.ts +++ b/std/encoding/_yaml/example/sample_document.ts @@ -1,5 +1,4 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -/* eslint-disable @typescript-eslint/explicit-function-return-type */ import { parse } from "../../yaml.ts"; @@ -7,7 +6,7 @@ import { parse } from "../../yaml.ts"; const yml = Deno.readFileSync(`${Deno.cwd()}/example/sample_document.yml`); const document = new TextDecoder().decode(yml); - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any const obj = parse(document) as Record; console.log(obj); -- cgit v1.2.3