Commit 3354eda
committed
use destructuring assignment for fix and suggestions extraction
- Replace explicit variable assignment with destructuring for diagnostic.data.fix
- Replace explicit variable assignment with destructuring for diagnostic.data.suggestions
- Remove unnecessary eslint-disable comments for prefer-destructuring rule1 parent 44fc8eb commit 3354eda
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
540 | | - | |
| 539 | + | |
541 | 540 | | |
542 | 541 | | |
543 | 542 | | |
| |||
560 | 559 | | |
561 | 560 | | |
562 | 561 | | |
563 | | - | |
564 | | - | |
| 562 | + | |
565 | 563 | | |
566 | 564 | | |
567 | 565 | | |
| |||
0 commit comments