dillon1000/react
Commit
Browse files 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
Changed paths6 files
First-parent comparisonpackage.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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…