Commit 2eda3c7
lib,test: use consistent operator linebreak style
We have a tacit rule that for multiline statements, the operator should
be placed before the linebreak. This commit commit fixes the few
violations of this rule in the code base.
This allows us to enable the corresponding ESLint rule.
PR-URL: #10178
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent f9f8e4e commit 2eda3c7Copy full SHA for 2eda3c7
File tree
Expand file treeCollapse file tree
3 files changed
+27
-27
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+27
-27
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
320 | 320 | |
321 | 321 | |
322 | 322 | |
323 | | - |
324 | | - |
| 323 | + |
| 324 | + |
325 | 325 | |
326 | 326 | |
327 | 327 | |
|
Collapse file
test/parallel/test-preload.js
Copy file name to clipboardExpand all lines: test/parallel/test-preload.js+23-23Lines changed: 23 additions & 23 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
28 | | - |
29 | | - |
| 27 | + |
| 28 | + |
| 29 | + |
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
37 | | - |
38 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | | - |
46 | | - |
47 | | - |
| 45 | + |
| 46 | + |
| 47 | + |
48 | 48 | |
49 | 49 | |
50 | 50 | |
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
57 | | - |
58 | | - |
59 | | - |
| 57 | + |
| 58 | + |
| 59 | + |
60 | 60 | |
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | 74 | |
75 | 75 | |
76 | | - |
77 | | - |
78 | | - |
| 76 | + |
| 77 | + |
| 78 | + |
79 | 79 | |
80 | 80 | |
81 | 81 | |
82 | 82 | |
83 | 83 | |
84 | 84 | |
85 | 85 | |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
90 | 90 | |
91 | 91 | |
92 | 92 | |
|
Collapse file
test/parallel/test-repl-domain.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-domain.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
22 | | - |
| 21 | + |
| 22 | + |
23 | 23 | |
0 commit comments