diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-13 14:15:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-13 14:15:38 +0200 |
commit | b216d48e5f179260fea247d4a1b9fce76f240e7d (patch) | |
tree | 66fb54d1e573f84d4dec92af8c465e60a998902e /std/node/tests | |
parent | bf70442b08eb54b2959b32977aa0a245c530248b (diff) |
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.
Diffstat (limited to 'std/node/tests')
-rw-r--r-- | std/node/tests/cjs/cjs_a.js | 1 | ||||
-rw-r--r-- | std/node/tests/cjs/cjs_b.js | 1 | ||||
-rw-r--r-- | std/node/tests/cjs/cjs_builtin.js | 1 | ||||
-rw-r--r-- | std/node/tests/cjs/cjs_cycle_a.js | 1 | ||||
-rw-r--r-- | std/node/tests/cjs/cjs_cycle_b.js | 1 | ||||
-rw-r--r-- | std/node/tests/cjs/cjs_throw.js | 1 | ||||
-rw-r--r-- | std/node/tests/cjs/index.js | 1 | ||||
-rw-r--r-- | std/node/tests/cjs/subdir/cjs_c.js | 1 |
8 files changed, 8 insertions, 0 deletions
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"; |