dillon1000/react

Commit

Fixes eslint warning when node type is ChainExpression (#19680)

* Add babel parser which supports ChainExpression

* Add and fix tests for new babel eslint parser

* extract function to mark node

* refactor for compatibility with eslint v7.7.0+

* Update eslint to v7.7.0
Update hook test since eslint now supports nullish coalescing
Browse files
Changed paths6 files
First-parent comparison
M package.json ModifiedM packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js ModifiedM packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js ModifiedM packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js ModifiedM scripts/eslint-rules/no-production-logging.js ModifiedM yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…