summaryrefslogtreecommitdiff
path: root/tests/specs/lint/workspace/root.out
blob: 1d892a93f05b156ba558c6b8e2dbb0261077d624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
error[no-eval]: `eval` call is not allowed
 --> [WILDLINE]root.ts:1:1
  | 
1 | eval("");
  | ^^^^^^^^
  = hint: Remove the use of `eval`

  docs: https://lint.deno.land/rules/no-eval


error[no-unused-vars]: `unused` is never used
 --> [WILDLINE]root.ts:7:7
  | 
7 | const unused = 1;
  |       ^^^^^^
  = hint: If this is intentional, prefix it with an underscore like `_unused`

  docs: https://lint.deno.land/rules/no-unused-vars


error[no-explicit-any]: `any` type is not allowed
 --> [WILDLINE]root.ts:9:25
  | 
9 | export function test(): any {
  |                         ^^^
  = hint: Use a specific type other than `any`

  docs: https://lint.deno.land/rules/no-explicit-any


error[no-eval]: `eval` call is not allowed
 --> [WILDLINE]package-a[WILDCHAR]a.ts:1:1
  | 
1 | eval("");
  | ^^^^^^^^
  = hint: Remove the use of `eval`

  docs: https://lint.deno.land/rules/no-eval


error[no-await-in-loop]: Unexpected `await` inside a loop.
 --> [WILDLINE]package-a[WILDCHAR]a.ts:4:3
  | 
4 |   await Deno.open("test");
  |   ^^^^^^^^^^^^^^^^^^^^^^^
  = hint: Remove `await` in loop body, store all promises generated and then `await Promise.all(storedPromises)` after the loop

  docs: https://lint.deno.land/rules/no-await-in-loop


error[no-explicit-any]: `any` type is not allowed
 --> [WILDLINE]package-a[WILDCHAR]a.ts:9:25
  | 
9 | export function test(): any {
  |                         ^^^
  = hint: Use a specific type other than `any`

  docs: https://lint.deno.land/rules/no-explicit-any


error[no-eval]: `eval` call is not allowed
 --> [WILDLINE]package-b[WILDCHAR]b.ts:1:1
  | 
1 | eval("");
  | ^^^^^^^^
  = hint: Remove the use of `eval`

  docs: https://lint.deno.land/rules/no-eval


error[no-unused-vars]: `unused` is never used
 --> [WILDLINE]b.ts:7:7
  | 
7 | const unused = 1;
  |       ^^^^^^
  = hint: If this is intentional, prefix it with an underscore like `_unused`

  docs: https://lint.deno.land/rules/no-unused-vars


Found 8 problems
Checked 3 files