This repository was archived by the owner on Jul 16, 2023. It is now read-only.
File tree
4 files changed
+36
-17
lines changed- lib/src/analyzers/lint_analyzer/rules/rules_list/prefer_conditional_expressions
- test/src/analyzers/lint_analyzer/rules/rules_list/prefer_conditional_expressions
- examples
4 files changed
+36
-17
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
|
Lines changed: 17 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
| 78 | + | |
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 |
| - | |
| 85 | + | |
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
91 | 106 |
| |
92 | 107 |
| |
93 | 108 |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
176 | 184 |
|
Lines changed: 10 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 28 | + | |
| 29 | + | |
43 | 30 |
| |
44 | 31 |
| |
45 | 32 |
| |
| |||
97 | 84 |
| |
98 | 85 |
| |
99 | 86 |
| |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
100 | 92 |
| |
101 | 93 |
| |
102 | 94 |
| |
| |||
111 | 103 |
| |
112 | 104 |
| |
113 | 105 |
| |
| 106 | + | |
114 | 107 |
| |
115 | 108 |
| |
116 | 109 |
| |
| |||
125 | 118 |
| |
126 | 119 |
| |
127 | 120 |
| |
| 121 | + | |
128 | 122 |
| |
129 | 123 |
| |
130 | 124 |
| |
| |||
139 | 133 |
| |
140 | 134 |
| |
141 | 135 |
| |
| 136 | + | |
142 | 137 |
| |
143 | 138 |
| |
144 | 139 |
| |
|
0 commit comments