diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-06-12 01:44:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 01:44:17 +0200 |
commit | e7054d50f0992103a8810bb012179235fb30e0fe (patch) | |
tree | 4ba5b0a871ca3356a3d464af1144dd648a1dd991 /cli/tests | |
parent | 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114 (diff) |
update: deno_lint to v0.1.10 (#6248)
* update: deno lint to v0.1.10
* Parallelize "deno lint" subcommand
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/lint/expected.out | 28 | ||||
-rw-r--r-- | cli/tests/lint/expected_glob.out | 2 |
2 files changed, 3 insertions, 27 deletions
diff --git a/cli/tests/lint/expected.out b/cli/tests/lint/expected.out index 57af15971..a85c90859 100644 --- a/cli/tests/lint/expected.out +++ b/cli/tests/lint/expected.out @@ -1,26 +1,2 @@ -(ban-untagged-ignore) Ignore directive requires lint rule code -// deno-lint-ignore -~~~~~~~~~~~~~~~~~~~ - at [WILDCARD]file1.js:1:0 - -(no-empty) Empty block statement -while (false) {} - ~~ - at [WILDCARD]file1.js:2:14 - -(no-empty) Empty block statement -} catch (e) {} - ~~ - at [WILDCARD]file2.ts:3:12 - -(ban-unused-ignore) Ignore for code "require-await" was not used. -// deno-lint-ignore no-explicit-any require-await -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - at [WILDCARD]file2.ts:5:0 - -(no-empty-function) Empty functions are not allowed -function foo(): any {} -~~~~~~~~~~~~~~~~~~~~~~ - at [WILDCARD]file2.ts:6:0 - -Found 5 problems +[WILDCARD] +Found 3 problems diff --git a/cli/tests/lint/expected_glob.out b/cli/tests/lint/expected_glob.out index 3e3ebd649..a85c90859 100644 --- a/cli/tests/lint/expected_glob.out +++ b/cli/tests/lint/expected_glob.out @@ -1,2 +1,2 @@ [WILDCARD] -Found 5 problems +Found 3 problems |