dillon1000/react

Commit

[lint] Add no-optional-chaining (#31003)

## Overview

Adds a lint rule to prevent optional chaining to catch issues like
https://github.com/facebook/react/pull/30982 until we support optional
chaining without a bundle impact.
Browse files
Changed paths4 files
First-parent comparison
M .eslintrc.js ModifiedM package.json ModifiedM packages/react-debug-tools/src/ReactDebugHooks.js ModifiedM yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…