Commit c5e31f7
committed
fix(prefer-optional-chain): ignore non-access OR comparison (#872)
fixes oxc-project/oxc#210771 parent ba92094 commit c5e31f7
File tree
2 files changed
+16
-0
lines changed- internal/rules/prefer_optional_chain
2 files changed
+16
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1589 | 1589 | | |
1590 | 1590 | | |
1591 | 1591 | | |
| 1592 | + | |
1592 | 1593 | | |
1593 | 1594 | | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
1594 | 1602 | | |
1595 | 1603 | | |
1596 | 1604 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
1003 | 1011 | | |
1004 | 1012 | | |
1005 | 1013 | | |
| |||
0 commit comments