Sourced from eslint-plugin-react's changelog.
7.28.0 - 2021.12.22
Added
- [
function-component-definition]: support namedComponents option being an array (https://github.com/facebook/flipper/issues/3129[]@petersendidit)Fixed
- [
jsx-indent-props]: Resetline.isUsingOperatorcorrectly after ternary (https://github.com/facebook/flipper/issues/3146[]@tobiaswaltl)Changed
- [Refactor] [
no-arrow-function-lifecycle], [no-unused-class-component-methods]: use report/messages convention (@ljharb)- [Tests] component detection: Add testing scaffolding (https://github.com/facebook/flipper/issues/3149[]
@duncanbeevers)- [New] component detection: track React imports (https://github.com/facebook/flipper/issues/3149[]
@duncanbeevers)- [New] component detection: add
util.isReactHookCall(https://github.com/facebook/flipper/issues/3156[]@duncanbeevers)https://github.com/facebook/flipper/issues/3156: yannickcr/eslint-plugin-react#3156 https://github.com/facebook/flipper/issues/3149: yannickcr/eslint-plugin-react#3149 https://github.com/facebook/flipper/issues/3146: yannickcr/eslint-plugin-react#3146 https://github.com/facebook/flipper/issues/3129: yannickcr/eslint-plugin-react#3129
9be55ed Update CHANGELOG and bump version5a25380 [New] component detection: add util.isReactHookCall3db5285 [Fix] jsx-indent-props: Reset line.isUsingOperator correctly after ternaryd56fdb8 [Tests] rename test file to match production fileac4e311 [Tests] tiny cleanupf7943d5 [Test] parsers.all augments suggestion code outpute3d3525 [New] function-component-definition: support namedComponents option being a...d5bf8d9 [Dev Deps] update eslint-plugin-importa09debf [New] components detection: track React imports8b98e60 [Tests] component detection: Add testing scaffolding