Commit f48062f
tools: auto fix custom crypto-check eslint rule
1. Fixer for crypto-check.js
2. Extends tests
PR-URL: #16647
Refs: #16636
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 1fc0a41 commit f48062fCopy full SHA for f48062f
File tree
Expand file treeCollapse file tree
3 files changed
+52
-9
lines changedOpen diff view settings
Filter options
- test/parallel
- tools/eslint-rules
Expand file treeCollapse file tree
3 files changed
+52
-9
lines changedOpen diff view settings
Collapse file
test/parallel/test-eslint-crypto-check.js
Copy file name to clipboardExpand all lines: test/parallel/test-eslint-crypto-check.js+22-8Lines changed: 22 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
28 | 34 | |
29 | 35 | |
30 | | - |
31 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
32 | 46 | |
33 | 47 | |
34 | 48 | |
Collapse file
tools/eslint-rules/crypto-check.js
Copy file name to clipboardExpand all lines: tools/eslint-rules/crypto-check.js+19-1Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
| 26 | + |
26 | 27 | |
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | 31 | |
31 | 32 | |
32 | 33 | |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
33 | 38 | |
34 | 39 | |
35 | 40 | |
| ||
75 | 80 | |
76 | 81 | |
77 | 82 | |
78 | | - |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
79 | 97 | |
80 | 98 | |
81 | 99 | |
|
Collapse file
tools/eslint-rules/rules-utils.js
Copy file name to clipboardExpand all lines: tools/eslint-rules/rules-utils.js+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
15 | 26 | |
16 | 27 | |
17 | 28 | |
|
0 commit comments