v7.17.0
Added
jsx-no-target-blank
: addallowReferrer
option (#2478 @eps1lon)jsx-handler-names
: addcheckLocalVariables
option (#2470 @aub)prop-types
: Support Flow Type spread (#2446 @moroine)jsx-props-no-spreading
: addexplicitSpread
option to allow explicit spread of props (#2449 @pawelnvk)jsx-no-target-blank
: warn ontarget={'_blank'}
expressions (#2451 @timkraut)
Fixed
sort-prop-types
,jsx-sort-default-props
: disable broken autofix (#2505 @webOS101)no-typos
: improve report location (#2468 @golopot)jsx-no-literals
: trim whitespace forallowedStrings
check (#2436 @cainlevy)jsx-curly-brace-presence
: Fix filter of undefined error with whitespace inside jsx attr curlies (#2460 @dustinyoste)no-render-return-value
: should warn when used in assignment expression ([#2462][] @jichu4n)jsx-curly-brace-presence
: allow trailing spaces in literal (#2448 @doochik)
Changed
- [Deps] update
jsx-ast-utils
,object.fromentries
,resolve
- [eslint] fix func-names and change object-shorthand to 'always' (#2483 @golopot)
- [Docs]
jsx-first-prop-new-line
: Fix documentation formatting (#2489 @pjg) - [Docs]
prop-types
: Update 'skipUndeclared' in rule options (#2504 @cjnickel) - [Docs]
jsx-first-prop-new-line
: fix wrong rule name (#2500 @zgayjjf) - [eslint] enable eslint-plugin-eslint-plugin (#2469 @golopot)
- [Docs]
jsx-props-no-multi-spaces
: suggest using core rule instead (#2463 @golopot) - [Docs]
jsx-first-prop-new-line
: add rule options (#2465 @SerdarMustafa1) - [Docs]
jsx-no-target-blank
: Add section about overriding for trusted links (#2438 @aschriner) - [Docs] fix typo (#2453 @cainwatson)
- [Docs]
no-unused-prop-types
: clean up prose (#2273 @coryhouse) - [Docs]
jsx-no-bind
: add section about React Hooks (#2443 @Kdex)