Eslint Plugin React: v7.17.0 Release

Release date:
November 29, 2019
Previous version:
v7.16.0 (released October 4, 2019)
Magnitude:
1,614 Diff Delta
Contributors:
20 total committers
Data confidence:
Commits:

26 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored November 29, 2019
Authored October 20, 2019
Authored October 9, 2019

Top Contributors in v7.17.0

golopot
ljharb
moroine
webOS101
cainlevy
coryhouse
pawelnvk
aub
kdex
eps1lon

Directory Browser for v7.17.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Added

  • [jsx-no-target-blank][]: add allowReferrer option (#2478 @eps1lon)
  • [jsx-handler-names][]: add checkLocalVariables option (#2470 @aub)
  • [prop-types][]: Support Flow Type spread (#2446 @moroine)
  • [jsx-props-no-spreading][]: add explicitSpread option to allow explicit spread of props (#2449 @pawelnvk)
  • [jsx-no-target-blank][]: warn on target={'_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 for allowedStrings 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)