Sourced from eslint-plugin-react's changelog.
7.27.0 - 2021.11.09
Added
- support eslint 8.x (https://github.com/facebook/flipper/issues/3059[]
@MichaelDeBoey@ljharb)- [
no-unused-class-component-methods]: Handle unused class component methods (https://github.com/facebook/flipper/issues/2166[]@jakeleventhal@pawelnvk)- add [
no-arrow-function-lifecycle] (https://github.com/facebook/flipper/issues/1980[]@ngtan)- add support for
typescript-eslint/parserv5 (@ljharb)- [
no-invalid-html-attribute]: add rule (https://github.com/facebook/flipper/issues/2863[]@Nokel81)Fixed
propTypes: addVoidFunctionComponentto react generic list (#3092[]@vedadeepta)- [
jsx-fragments], [jsx-no-useless-fragment]: avoid a crash on fragment syntax intypescript-eslintparser (@ljharb)- [
jsx-props-no-multi-spaces]: avoid a crash on long member chains in tag names intypescript-eslintparser (@ljharb)- [
no-unused-prop-types],usedPropTypes: avoid crash with typescript-eslint parser (@ljharb)- [
display-name]: unwrap TSasexpressions (#3110[]@ljharb)- [
destructuring-assignment]: detect refs nested in functions (#3102@ljharb)- [
no-unstable-components]: improve handling of objects containing render function properties (#3111@fizwidget)- [
prop-types],propTypes: add forwardRef prop-types (#3112@vedadeepta)- [
no-typos]: prevent a crash when using private methods (@ljharb)- [
destructuring-assignment], component detection: improve component detection (#3122@vedadeepta)- [
no-invalid-html-attribute]: avoid crash on spread props (#3126@ljharb)Changed
- [Tests] test on the new babel eslint parser (#3113
@ljharb)- [Docs] [
jsx-no-target-blank]: adjust options description (#3124@gebsh)#3126: yannickcr/eslint-plugin-react#3126 #3124: yannickcr/eslint-plugin-react#3124 #3122: yannickcr/eslint-plugin-react#3122 #3113: yannickcr/eslint-plugin-react#3113 #3112: yannickcr/eslint-plugin-react#3112 #3111: yannickcr/eslint-plugin-react#3111 #3110: yannickcr/eslint-plugin-react#3110 #3102: yannickcr/eslint-plugin-react#3102 #3092: yannickcr/eslint-plugin-react#3092 https://github.com/facebook/flipper/issues/3059: yannickcr/eslint-plugin-react#3059 https://github.com/facebook/flipper/issues/2863: yannickcr/eslint-plugin-react#2863 https://github.com/facebook/flipper/issues/2166: yannickcr/eslint-plugin-react#2166 https://github.com/facebook/flipper/issues/1980: yannickcr/eslint-plugin-react#1980
21e01b6 Update CHANGELOG and bump version10c0e6a [Dev Deps] update babel/eslint-parser, types/node9e12d2b [New] support eslint 8.xc3c97e3 [Dev Deps] update eslint-config-airbnb-base38628ed [Tests] improve parser cases debug commente5b9f35 [Fix] no-invalid-html-attribute: avoid crash on spread propse672316 [Docs] jsx-no-target-blank: adjust options description7b3d728 [Fix] destructuring-assignment, component detection: improve component dete...0743c41 [Tests] improve babel parser options9fd9856 [Dev Deps] Update eslint-remote-tester-run-action