Commit c76f214
test,tools: enable linting for undefined vars
The test directory had linting for undefined variables disabled. It is
enabled everywhere else in the code base. Let's disable the fule for
individual lines in the handful of tests that use undefined variables.
PR-URL: #6255
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>1 parent 24ac16f commit c76f214Copy full SHA for c76f214
File tree
Expand file treeCollapse file tree
13 files changed
+19
-26
lines changedOpen diff view settings
Filter options
- test
- message
- parallel
Expand file treeCollapse file tree
13 files changed
+19
-26
lines changedOpen diff view settings
Collapse file
-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | | - |
6 | 4 | |
7 | 5 | |
8 | 6 | |
|
Collapse file
test/message/nexttick_throw.js
Copy file name to clipboardExpand all lines: test/message/nexttick_throw.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
8 | 9 | |
9 | 10 | |
10 | 11 | |
|
Collapse file
test/message/timeout_throw.js
Copy file name to clipboardExpand all lines: test/message/timeout_throw.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
| 5 | + |
5 | 6 | |
6 | 7 | |
Collapse file
test/parallel/test-domain-exit-dispose-again.js
Copy file name to clipboardExpand all lines: test/parallel/test-domain-exit-dispose-again.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
| 59 | + |
60 | 60 | |
61 | 61 | |
62 | 62 | |
|
Collapse file
test/parallel/test-domain-exit-dispose.js
Copy file name to clipboardExpand all lines: test/parallel/test-domain-exit-dispose.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
|
Collapse file
test/parallel/test-exception-handler2.js
Copy file name to clipboard+5-13Lines changed: 5 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
| 2 | + |
4 | 3 | |
5 | 4 | |
6 | 5 | |
7 | 6 | |
8 | 7 | |
9 | | - |
10 | | - |
| 8 | + |
11 | 9 | |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 10 | + |
18 | 11 | |
19 | 12 | |
20 | | - |
21 | | - |
22 | | - |
| 13 | + |
| 14 | + |
Collapse file
test/parallel/test-global.js
Copy file name to clipboardExpand all lines: test/parallel/test-global.js+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 | |
14 | 16 | |
15 | 17 | |
|
Collapse file
test/parallel/test-http-exceptions.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-exceptions.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
|
Collapse file
test/parallel/test-listen-fd-cluster.js
Copy file name to clipboardExpand all lines: test/parallel/test-listen-fd-cluster.js-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | 24 | |
26 | 25 | |
27 | 26 | |
|
Collapse file
test/parallel/test-next-tick-errors.js
Copy file name to clipboardExpand all lines: test/parallel/test-next-tick-errors.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
| 13 | + |
14 | 14 | |
15 | 15 | |
16 | 16 | |
|
0 commit comments