Sourced from eslint-plugin-react's changelog.
7.26.0 - 2021.09.20
Added
- add [
no-namespace] rule (https://github.com/facebook/flipper/issues/2640@yacinehmito@ljharb)- [
jsx-max-props-per-line]: addsingleandmultioptions (#3078@SIL0RAK)Fixed
- [
display-name]: Get rid of false position on component detection (https://github.com/facebook/flipper/issues/2759@iiison)Changed
- [
no-access-state-in-setstate]: passing test for “don't error if it's not a React Component” (https://github.com/facebook/flipper/issues/1873@kentcdodds)#3078: yannickcr/eslint-plugin-react#3078 https://github.com/facebook/flipper/issues/2640: yannickcr/eslint-plugin-react#2640 https://github.com/facebook/flipper/issues/2759: yannickcr/eslint-plugin-react#2759 https://github.com/facebook/flipper/issues/1873: yannickcr/eslint-plugin-react#1873
7.25.3 - 2021.09.19
Fixed
- [
prop-types],propTypes: bail out unknown generic types inside func params (#3076@vedadeepta)Changed
- [readme] Update broken link for configuration files (#3071
@prateek3255)- [Refactor] create/extract
isCreateElementandisDestructuredFromPragmaImportutils (@ljharb)#3076: yannickcr/eslint-plugin-react#3076 #3071: yannickcr/eslint-plugin-react#3071
7.25.2 - 2021.09.16
Fixed
- [
jsx-no-useless-fragments]: Handle insignificant whitespace correctly whenallowExpressionsistrue(#3061[]@benj-dobs)- [
prop-types],propTypes: handle implicitchildrenprop in react's generic types (#3064[]@vedadeepta)- [
display-name]: fix arrow function returning result of function call with JSX arguments being interpreted as component (#3065[]@danielfinke)- [
jsx-no-target-blank]: avoid crash on attr-only href (#3066[]@ljharb@gaz77a)- [
jsx-uses-vars]: ignore lowercase tag names (#3070[]@alanorozco)#3070: yannickcr/eslint-plugin-react#3070 #3066: yannickcr/eslint-plugin-react#3066 #3065: yannickcr/eslint-plugin-react#3065 #3064: yannickcr/eslint-plugin-react#3064 #3061: yannickcr/eslint-plugin-react#3061
8cf47a8 Update CHANGELOG and bump versione4acd07 [Dev Deps] update types/estree, types/node, eslint-plugin-eslint-plugin83eb226 [New] jsx-max-props-per-line: add single and multi options95a8a4e [Dev Deps] update eslint-remote-testerdf939e3 [Tests] no-access-state-in-setstate: passing test for “don't error if it's ...f4d4314 [Refactor] no-unstable-nested-components: use isCreateElement util (f25a8...ddff237 [Refactor] no-danger: use Object.fromEntries and Object.hasOwn instead of r...d51bc61 [Fix] restore eslint < 4.15 compatibility9799131 [Fix] display-name: Get rid of false position on component detection53a0d84 [New] add no-namespace rule