Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ESLint] Consistently treat optional chaining as regular chaining (fa…
…cebook#19273) * Revert "Fix ExhaustiveDeps ESLint rule throwing with optional chaining (facebook#19260)" This reverts commit 0f84b0f. * Re-add a test from facebook#19260 * Remove all code for optional chaining support * Consistently treat optional chaining as regular chaining This is not ideal because our suggestions use normal chaining. But it gets rid of all current edge cases. * Add more tests * More consistency in treating normal and optional expressions * Add regression tests for every occurrence of Optional*
- Loading branch information