Sourced from eslint-plugin-react's changelog.
Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. This change log adheres to standards from Keep a CHANGELOG.
Unreleased
Added
- [
jsx-key]: addedcheckKeyMustBeforeSpreadoption for new jsx transform (#2835[] morlay)- [
jsx-newline]: add new rule (#2693[] jzabala)- [
jsx-no-constructed-context-values]: add new rule which checks when the value passed to a Context Provider will cause needless rerenders (#2763[] dylanOshima)- [
jsx-indent-props]: addignoreTernaryOperatoroption (#2846[] SebastianZimmer)- [
jsx-no-target-blank]: AddwarnOnSpreadAttributesoption (#2855[] michael-yx-wu)Fixed
- [
display-name]/component detection: avoid a crash on anonymous components (#2840[] ljharb)- [
prop-types]: function in class that returns a component causes false warning in typescript (#2843[] SyMind)- [
jsx-no-target-blank]: avoid a crash with a non-string literal (#2851[] ljharb)- [
jsx-no-script-url]: avoid crash with booleanhref(#2871[] ljharb, AriPerkkio)- [
no-typos]: avoid crash with computed method name (#2870[] ljharb, AriPerkkio)- [
jsx-max-depth]: avoid crash with childless jsx child (#2869[] ljharb, AriPerkkio)- [
jsx-wrap-multilines]: fix crash withdeclarations that are on a new line after=(#2875[] ljharb)- [
no-unknown-property]: avoid crash with prop named with Object.prototype key (#2879[] ljharb, AriPerkkio)- [
prop-types]: default argument does not count as props-types declaration (#2877[] golopot)- [
jsx-props-no-multi-spaces]: fix a false positive for beside comments (#2878[] golopot)- [
jsx-no-undef]: handle the TS parser combined with an invalid ecmaVersion (#2882[] ljharb)- [
no-unused-prop-types]: applyskipShapePropsto exact types (#2883[] golopot)- [
no-danger-with-children]/[style-prop-object]/[no-adjacent-inline-elements]: add category, URL (#2891[] thofmann)Docs
- [
no-unused-prop-types]: Add new example to rule (#2852[] thehereward)- [
prop-types]: fix example (#2881[] technote-space)#2891: yannickcr/eslint-plugin-react#2891 #2883: yannickcr/eslint-plugin-react#2883 #2882: yannickcr/eslint-plugin-react#2882 #2881: yannickcr/eslint-plugin-react#2881 #2879: yannickcr/eslint-plugin-react#2879 #2878: yannickcr/eslint-plugin-react#2878 #2877: yannickcr/eslint-plugin-react#2877 #2875: yannickcr/eslint-plugin-react#2875 #2871: yannickcr/eslint-plugin-react#2871 #2870: yannickcr/eslint-plugin-react#2870 #2869: yannickcr/eslint-plugin-react#2869 #2855: yannickcr/eslint-plugin-react#2855 #2852: yannickcr/eslint-plugin-react#2852 #2851: yannickcr/eslint-plugin-react#2851 #2846: yannickcr/eslint-plugin-react#2846 #2843: yannickcr/eslint-plugin-react#2843 #2840: yannickcr/eslint-plugin-react#2840
... (truncated)
e2eaada Update CHANGELOG and bump version77e1b35 [Fix] no-danger-with-children/style-prop-object/`no-adjacent-inline-eleme...a137a04 [Tests] clean up some test cases9e4bbd0 [Fix] no-unused-prop-types: apply skipShapeProps to exact types7aaa1cf [meta] fix changelog entryc4ecce9 [New] jsx-no-target-blank: Add warnOnSpreadAttributes option66593e5 [New] jsx-indent-props: add ignoreTernaryOperator option816e344 [Fix] jsx-no-undef: handle the TS parser combined with an invalid ecmaVersionb85b8fc [Tests] add readme tests I forgot in #28878ef839a [Tests] migrate tests to Github Actions