From b26dcbc69d56b6ac5780520dad47f10460127d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 17 Jan 2021 00:32:59 +0100 Subject: chore: Enforce ban-untagged-todo lint rule (#9135) --- tools/lint.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/lint.js b/tools/lint.js index b31ad2994..0d90e8546 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -4,10 +4,12 @@ import { buildMode, getPrebuiltToolPath, getSources, + join, ROOT_PATH, } from "./util.js"; async function dlint() { + const configFile = join(ROOT_PATH, ".dlint.json"); const execPath = getPrebuiltToolPath("dlint"); console.log("dlint"); @@ -49,7 +51,7 @@ async function dlint() { } for (const chunk of chunks) { const p = Deno.run({ - cmd: [execPath, "run", ...chunk], + cmd: [execPath, "run", "--config=" + configFile, ...chunk], }); const { success } = await p.status(); if (!success) { -- cgit v1.2.3