Commit e140d41
tools: capitalize sentences
This adds the `capitalized-comments` eslint rule to verify that
actual sentences use capital letters as starting letters. It ignores
special words and all lines below 62 characters.
PR-URL: #24808
Reviewed-By: Sam Ruby <rubys@intertwingly.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent ad6104d commit e140d41Copy full SHA for e140d41
File tree
Expand file treeCollapse file tree
156 files changed
+774
-244
lines changedOpen diff view settings
Filter options
- benchmark
- child_process
- crypto
- dgram
- napi/function_call
- net
- doc/api
- lib
- internal
- console
- http2
- modules
- cjs
- esm
- repl
- streams
- test
- abort
- async-hooks
- common
- es-module
- js-native-api
- test_general
- test_number
- known_issues
- parallel
- pummel
- sequential
- tools/eslint-rules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
156 files changed
+774
-244
lines changedOpen diff view settings
Collapse file
+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
58 | 58 | |
59 | 59 | |
60 | 60 | |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
61 | 73 | |
62 | 74 | |
63 | 75 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | | - |
| 52 | + |
53 | 53 | |
54 | 54 | |
55 | 55 | |
|
Collapse file
benchmark/child_process/child-process-exec-stdout.js
Copy file name to clipboardExpand all lines: benchmark/child_process/child-process-exec-stdout.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
146 | 146 | |
147 | 147 | |
148 | 148 | |
149 | | - |
| 149 | + |
150 | 150 | |
151 | 151 | |
152 | 152 | |
| ||
187 | 187 | |
188 | 188 | |
189 | 189 | |
190 | | - |
| 190 | + |
191 | 191 | |
192 | 192 | |
193 | 193 | |
|
Collapse file
benchmark/crypto/cipher-stream.js
Copy file name to clipboardExpand all lines: benchmark/crypto/cipher-stream.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | | - |
| 61 | + |
62 | 62 | |
63 | 63 | |
64 | 64 | |
|
Collapse file
benchmark/dgram/array-vs-concat.js
Copy file name to clipboardExpand all lines: benchmark/dgram/array-vs-concat.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
|
Collapse file
benchmark/dgram/offset-length.js
Copy file name to clipboardExpand all lines: benchmark/dgram/offset-length.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
|
Collapse file
benchmark/napi/function_call/index.js
Copy file name to clipboardExpand all lines: benchmark/napi/function_call/index.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
|
Collapse file
benchmark/net/net-wrap-js-stream-passthrough.js
Copy file name to clipboardExpand all lines: benchmark/net/net-wrap-js-stream-passthrough.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
|
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | | - |
| 64 | + |
65 | 65 | |
66 | 66 | |
67 | 67 | |
68 | 68 | |
69 | | - |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | 72 | |
| ||
159 | 159 | |
160 | 160 | |
161 | 161 | |
162 | | - |
| 162 | + |
163 | 163 | |
164 | 164 | |
165 | 165 | |
|
0 commit comments