Commit 2fc083c
File tree
Expand file treeCollapse file tree
2 files changed
+41
-19
lines changedFilter options
- crates/oxc_linter/src
- rules/unicorn
- snapshots
Expand file treeCollapse file tree
2 files changed
+41
-19
lines changedcrates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs
Copy file name to clipboardExpand all lines: crates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs+27-19Lines changed: 27 additions & 19 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
87 | 87 |
|
88 | 88 |
|
89 | 89 |
|
90 |
| - |
| 90 | + |
91 | 91 |
|
92 |
| - |
| 92 | + |
93 | 93 |
|
94 | 94 |
|
95 |
| - |
| 95 | + |
96 | 96 |
|
97 |
| - |
| 97 | + |
98 | 98 |
|
99 | 99 |
|
100 | 100 |
|
| ||
105 | 105 |
|
106 | 106 |
|
107 | 107 |
|
108 |
| - |
109 | 108 |
|
110 | 109 |
|
111 | 110 |
|
112 |
| - |
113 |
| - |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
114 | 117 |
|
| 118 | + |
115 | 119 |
|
116 | 120 |
|
117 | 121 |
|
| ||
134 | 138 |
|
135 | 139 |
|
136 | 140 |
|
137 |
| - |
138 | 141 |
|
139 |
| - |
140 |
| - |
| 142 | + |
| 143 | + |
141 | 144 |
|
142 | 145 |
|
143 | 146 |
|
| ||
156 | 159 |
|
157 | 160 |
|
158 | 161 |
|
159 |
| - |
160 |
| - |
161 |
| - |
162 |
| - |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
163 | 169 |
|
164 | 170 |
|
165 | 171 |
|
166 | 172 |
|
167 |
| - |
168 |
| - |
| 173 | + |
| 174 | + |
169 | 175 |
|
170 | 176 |
|
171 |
| - |
172 |
| - |
173 |
| - |
| 177 | + |
| 178 | + |
| 179 | + |
174 | 180 |
|
175 | 181 |
|
176 | 182 |
|
| ||
227 | 233 |
|
228 | 234 |
|
229 | 235 |
|
| 236 | + |
| 237 | + |
230 | 238 |
|
231 | 239 |
|
232 | 240 |
|
|
crates/oxc_linter/src/snapshots/unicorn_prefer_string_starts_ends_with.snap
Copy file name to clipboardExpand all lines: crates/oxc_linter/src/snapshots/unicorn_prefer_string_starts_ends_with.snap+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
18 | 32 |
|
19 | 33 |
|
20 | 34 |
|
|
0 commit comments