Commit 3ad0fae
tools: update eslint-check.js to object style
Updated rule from deprecated function-style
format to object-style format.
Refs: https://eslint.org/docs/latest/developer-guide/working-with-rules
PR-URL: #44706
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent fd5c26b commit 3ad0faeCopy full SHA for 3ad0fae
File tree
Expand file treeCollapse file tree
1 file changed
+40
-39
lines changedOpen diff view settings
Filter options
- tools/eslint-rules
Expand file treeCollapse file tree
1 file changed
+40
-39
lines changedOpen diff view settings
Collapse file
tools/eslint-rules/eslint-check.js
Copy file name to clipboardExpand all lines: tools/eslint-rules/eslint-check.js+40-39Lines changed: 40 additions & 39 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
19 | 23 | |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
24 | 28 | |
25 | | - |
26 | | - |
| 29 | + |
| 30 | + |
| 31 | + |
27 | 32 | |
28 | | - |
29 | 33 | |
30 | | - |
31 | | - |
32 | | - |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
33 | 38 | |
34 | | - |
35 | 39 | |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
48 | 53 | |
49 | | - |
| 54 | + |
50 | 55 | |
51 | | - |
| 56 | + |
52 | 57 | |
53 | | - |
54 | 58 | |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
64 | 65 | |
0 commit comments