Sourced from eslint-plugin-react's changelog.
7.20.5 - 2020.07.28
Fixed
- [
jsx-curly-brace-presence]: disable disallowed JSX text chars check in props (#2710[] jzabala)- [
no-unused-state]: check for class expression (#2712[] jzabala)- [
prop-types]: handle anonymous functions (#2730[], #2731[] odinho wKich jzabala)Docs
- [Docs] [
no-access-state-in-setstate]: fix example (#2724[] youngjuning)#2731: yannickcr/eslint-plugin-react#2731 #2730: yannickcr/eslint-plugin-react#2730 #2724: yannickcr/eslint-plugin-react#2724 #2712: yannickcr/eslint-plugin-react#2712 #2710: yannickcr/eslint-plugin-react#2710
7.20.4 - 2020.07.26
Fixed
- improve algorithm to check if a variable is coming from the pragma (#2706[] jzabala)
- [
prop-types]: handle component returning null (#2696[] hank121314)- [
prop-types]/[function-component-definition]: Add check for first letter capitalization in functional component detection (#2699[] jzabala)- [
prop-types]: use variable value in prop type fields defined by variables (#2704[] jzabala)- [
no-typos]: warn on a bindinglessreactimportChanged
- [Tests]
boolean-prop-naming: Added test for function invocation of bool (#2697[] ajkovar)- [Tests]
jsx-curly-brace-presence,jsx-no-comment-textnodes: add passing tests- [Refactor]
no-unused-state: avoid a loop#2704: yannickcr/eslint-plugin-react#2704 #2699: yannickcr/eslint-plugin-react#2699 #2697: yannickcr/eslint-plugin-react#2697 #2696: yannickcr/eslint-plugin-react#2696
7.20.3 - 2020-06-30
Fixed
- [
no-unused-prop-types]/[prop-types]: typescript interface support literal type and only FunctionComponent should have propTypes validation (#2690[] hank121314)- [
no-unused-prop-types]/TypeScript: avoid crash on indexable interface (#2687[] ljharb)#2690: yannickcr/eslint-plugin-react#2690 #2687: yannickcr/eslint-plugin-react#2687
[7.20.2] - 2020-06-29
Fixed
4c8d8cc Update CHANGELOG and bump version253a62a [Tests] no-access-state-in-setstate: add passing testsf0ff971 [Fix] jsx-curly-brace-presence: disable disallowed JSX text chars check in ...9630957 [Fix] no-unused-state: check for class expressioncadee91 [Docs] no-access-state-in-setstate: fix examplee8d2ce9 [Fix] prop-types: handle anonymous functionse20522c Update CHANGELOG and bump versionbb2b8db [Tests] jsx-curly-brace-presence, jsx-no-comment-textnodes: add passing t...e3e767b [Fix]: improve algorithm to check if a variable is coming from the pragmac57cc31 [Fix] prop-types: handle component returning null