Commit ad32ad6
benchmark: enable no-empty ESLint rule
PR-URL: #41831
Refs: https://eslint.org/docs/rules/no-empty
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 72f02d8 commit ad32ad6Copy full SHA for ad32ad6
File tree
Expand file treeCollapse file tree
11 files changed
+62
-14
lines changedOpen diff view settings
Filter options
- benchmark
- es
- fs
- misc
- net
Expand file treeCollapse file tree
11 files changed
+62
-14
lines changedOpen diff view settings
Collapse file
+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 | |
Collapse file
benchmark/es/foreach-bench.js
Copy file name to clipboardExpand all lines: benchmark/es/foreach-bench.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
| 25 | + |
26 | 26 | |
27 | 27 | |
28 | 28 | |
|
Collapse file
benchmark/fs/bench-statSync-failure.js
Copy file name to clipboardExpand all lines: benchmark/fs/bench-statSync-failure.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
|
Collapse file
benchmark/fs/read-stream-throughput.js
Copy file name to clipboardExpand all lines: benchmark/fs/read-stream-throughput.js+10-2Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
54 | 58 | |
55 | 59 | |
56 | 60 | |
| ||
81 | 85 | |
82 | 86 | |
83 | 87 | |
84 | | - |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
85 | 93 | |
86 | 94 | |
87 | 95 | |
|
Collapse file
benchmark/fs/readfile-partitioned.js
Copy file name to clipboardExpand all lines: benchmark/fs/readfile-partitioned.js+10-2Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
27 | 31 | |
28 | 32 | |
29 | 33 | |
| ||
38 | 42 | |
39 | 43 | |
40 | 44 | |
41 | | - |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
42 | 50 | |
43 | 51 | |
44 | 52 | |
|
Collapse file
benchmark/fs/readfile-promises.js
Copy file name to clipboardExpand all lines: benchmark/fs/readfile-promises.js+10-2Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
24 | 28 | |
25 | 29 | |
26 | 30 | |
| ||
31 | 35 | |
32 | 36 | |
33 | 37 | |
34 | | - |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
35 | 43 | |
36 | 44 | |
37 | 45 | |
|
Collapse file
+10-2Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
24 | 28 | |
25 | 29 | |
26 | 30 | |
| ||
31 | 35 | |
32 | 36 | |
33 | 37 | |
34 | | - |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
35 | 43 | |
36 | 44 | |
37 | 45 | |
|
Collapse file
benchmark/fs/write-stream-throughput.js
Copy file name to clipboardExpand all lines: benchmark/fs/write-stream-throughput.js+10-2Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
40 | 44 | |
41 | 45 | |
42 | 46 | |
| ||
48 | 52 | |
49 | 53 | |
50 | 54 | |
51 | | - |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
52 | 60 | |
53 | 61 | |
54 | 62 | |
|
Collapse file
benchmark/fs/writefile-promises.js
Copy file name to clipboardExpand all lines: benchmark/fs/writefile-promises.js+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | | - |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
50 | 54 | |
51 | 55 | |
52 | 56 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
| 8 | + |
| 9 | + |
8 | 10 | |
9 | 11 | |
10 | 12 | |
|
0 commit comments