Commit 7439d03
authored
* [Resistor Duo analyzer] Add feedback to extract the constant to the top level if defined locally
* [Resistor Duo analyzer] Update snapshot tests
* [Resistor Duo analyzer] Fix linting errors
* [Resistor Duo solution] Remove unused variable
* [Resistor Duo analyzer] Undo change to TSESTree import
* [Resistor Duo analyzer (#127)] Rename helper method
* [Resistor Duo analyzer (#127)] Implement requested changes
* [Resistor Duo analyzer (#127)] Add exported method signature to the tip
1 parent 345f7a6 commit 7439d03
File tree
3 files changed
+492
-63
lines changed- src/analyzers/practice/resistor-color-duo
- test/analyzers/resistor-color-duo/__snapshots__
3 files changed
+492
-63
lines changedLines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
483 | 496 | | |
484 | 497 | | |
485 | 498 | | |
| |||
508 | 521 | | |
509 | 522 | | |
510 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
511 | 529 | | |
512 | 530 | | |
513 | 531 | | |
| |||
1181 | 1199 | | |
1182 | 1200 | | |
1183 | 1201 | | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1184 | 1206 | | |
1185 | 1207 | | |
1186 | 1208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
123 | 140 | | |
124 | 141 | | |
125 | 142 | | |
| |||
287 | 304 | | |
288 | 305 | | |
289 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
290 | 317 | | |
291 | 318 | | |
292 | 319 | | |
| |||
0 commit comments