From b216d48e5f179260fea247d4a1b9fce76f240e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 13 Sep 2020 14:15:38 +0200 Subject: upgrade: deno_doc, deno_lint, dprint, swc (#7434) upgrades: - swc_ecmascript 0.7.7 - dprint-plugin-typescript 0.31.3 - deno_lint 0.2.0 - deno_doc 0.1.9 Split std_lint test into std_lint and unit_test_lint. Added lint ignores to CommonJS files in std/node. --- std/node/tests/cjs/cjs_a.js | 1 + std/node/tests/cjs/cjs_b.js | 1 + std/node/tests/cjs/cjs_builtin.js | 1 + std/node/tests/cjs/cjs_cycle_a.js | 1 + std/node/tests/cjs/cjs_cycle_b.js | 1 + std/node/tests/cjs/cjs_throw.js | 1 + std/node/tests/cjs/index.js | 1 + std/node/tests/cjs/subdir/cjs_c.js | 1 + 8 files changed, 8 insertions(+) (limited to 'std/node/tests') diff --git a/std/node/tests/cjs/cjs_a.js b/std/node/tests/cjs/cjs_a.js index b8f69c857..6295f3a14 100644 --- a/std/node/tests/cjs/cjs_a.js +++ b/std/node/tests/cjs/cjs_a.js @@ -1,3 +1,4 @@ +// deno-lint-ignore-file no-undef /* eslint-disable */ const { helloB } = require("./cjs_b.js"); const C = require("./subdir/cjs_c"); diff --git a/std/node/tests/cjs/cjs_b.js b/std/node/tests/cjs/cjs_b.js index 17499012c..2bbf75809 100644 --- a/std/node/tests/cjs/cjs_b.js +++ b/std/node/tests/cjs/cjs_b.js @@ -2,4 +2,5 @@ function helloB() { return "B"; } +// deno-lint-ignore no-undef module.exports = { helloB }; diff --git a/std/node/tests/cjs/cjs_builtin.js b/std/node/tests/cjs/cjs_builtin.js index d821d2558..3eae5dc59 100644 --- a/std/node/tests/cjs/cjs_builtin.js +++ b/std/node/tests/cjs/cjs_builtin.js @@ -1,3 +1,4 @@ +// deno-lint-ignore-file no-undef /* eslint-disable */ const fs = require("fs"); const util = require("util"); diff --git a/std/node/tests/cjs/cjs_cycle_a.js b/std/node/tests/cjs/cjs_cycle_a.js index 7a4e5a5f6..d73da20b9 100644 --- a/std/node/tests/cjs/cjs_cycle_a.js +++ b/std/node/tests/cjs/cjs_cycle_a.js @@ -1,3 +1,4 @@ +// deno-lint-ignore-file no-undef module.exports = false; require("./cjs_cycle_a"); module.exports = true; diff --git a/std/node/tests/cjs/cjs_cycle_b.js b/std/node/tests/cjs/cjs_cycle_b.js index d85a1fc84..bd18094ce 100644 --- a/std/node/tests/cjs/cjs_cycle_b.js +++ b/std/node/tests/cjs/cjs_cycle_b.js @@ -1,3 +1,4 @@ +// deno-lint-ignore-file no-undef module.exports = false; require("./cjs_cycle_b"); module.exports = true; diff --git a/std/node/tests/cjs/cjs_throw.js b/std/node/tests/cjs/cjs_throw.js index a636f406b..3def8cc85 100644 --- a/std/node/tests/cjs/cjs_throw.js +++ b/std/node/tests/cjs/cjs_throw.js @@ -2,4 +2,5 @@ function hello() { throw new Error("bye"); } +// deno-lint-ignore no-undef module.exports = { hello }; diff --git a/std/node/tests/cjs/index.js b/std/node/tests/cjs/index.js index 5dea52db2..d55928a89 100644 --- a/std/node/tests/cjs/index.js +++ b/std/node/tests/cjs/index.js @@ -1 +1,2 @@ +// deno-lint-ignore no-undef module.exports = { isIndex: true }; diff --git a/std/node/tests/cjs/subdir/cjs_c.js b/std/node/tests/cjs/subdir/cjs_c.js index 4e7d7ebe5..b24caa0c4 100644 --- a/std/node/tests/cjs/subdir/cjs_c.js +++ b/std/node/tests/cjs/subdir/cjs_c.js @@ -1 +1,2 @@ +// deno-lint-ignore no-undef module.exports = "C"; -- cgit v1.2.3