summaryrefslogtreecommitdiff
path: root/cli/tests/lint/expected.out
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-06-10 23:29:48 +0200
committerGitHub <noreply@github.com>2020-06-10 23:29:48 +0200
commite4e332abbbe0dbdb44305a261f9965ba89e7767b (patch)
tree6bdbeb2c6d1039adf34f7366e467e105e91ab63d /cli/tests/lint/expected.out
parente53a1b14968099df06624a4dc4d4ab810d1ce443 (diff)
feat(lint): use default globs, upgrade to v0.1.9 (#6222)
This commit: * added default file globs so "deno lint" can be run without arguments (just like "deno fmt") * added test for globs in "deno lint" * upgrade "deno_lint" crate to v0.1.9
Diffstat (limited to 'cli/tests/lint/expected.out')
-rw-r--r--cli/tests/lint/expected.out26
1 files changed, 8 insertions, 18 deletions
diff --git a/cli/tests/lint/expected.out b/cli/tests/lint/expected.out
index 0b0654298..57af15971 100644
--- a/cli/tests/lint/expected.out
+++ b/cli/tests/lint/expected.out
@@ -1,12 +1,12 @@
-(no-var) `var` keyword is not allowed
-var a = 1,
-~~~~~~~~~~
+(ban-untagged-ignore) Ignore directive requires lint rule code
+// deno-lint-ignore
+~~~~~~~~~~~~~~~~~~~
at [WILDCARD]file1.js:1:0
-(single-var-declarator) Multiple variable declarators are not allowed
-var a = 1,
-~~~~~~~~~~
- 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) {}
@@ -23,14 +23,4 @@ function foo(): any {}
~~~~~~~~~~~~~~~~~~~~~~
at [WILDCARD]file2.ts:6:0
-(ban-untagged-ignore) Ignore directive requires lint rule code
-// deno-lint-ignore
-~~~~~~~~~~~~~~~~~~~
- at [WILDCARD]file2.ts:8:0
-
-(no-empty) Empty block statement
-while (false) {}
- ~~
- at [WILDCARD]file2.ts:9:14
-
-Found 7 problems
+Found 5 problems