Eslint Plugin React: v7.13.0 Release

Release date:
May 3, 2019
Previous version:
v7.12.4 (released January 17, 2019)
Magnitude:
4,017 Diff Delta
Contributors:
24 total committers
Data confidence:
Commits:

61 Commits in this Release

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

Authored March 8, 2019
Authored May 3, 2019
Authored January 3, 2019
Authored May 1, 2019
Authored August 18, 2018
Authored April 24, 2019
Authored January 3, 2019
Authored January 4, 2019
Authored August 12, 2018
Authored April 10, 2019
Authored August 18, 2018
Authored April 25, 2019
Authored January 22, 2019

Top Contributors in v7.13.0

dmason30
lukyth
golopot
ljharb
luke-zapart-ee6f
yannickcr
ashbhir
gbakernet
pawelnvk
guliashvili

Directory Browser for v7.13.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

  • Make jsx-sort-props fully fixable (#2250, @guliashvili)
  • boolean-prop-naming: add validateNested option to validate shape prop names (#2234, @pawelnvk)
  • add static-property-placement rule (#2193, @dmason30)
  • add "detect" for flow version (#2233, @jedwards1211)
  • jsx-indent: Add indentLogicalExpressions option (#2227, @mdnsk)
  • add jsx-props-no-spreading (#2191, @ashbhir)
  • no-string-refs: Added noTemplateLiteral option (#2167, @jenil94)
  • add linkComponents setting (#2116, @gbakernet)
  • jsx-no-target-blank: add support for linkComponents setting (#2116, @gbakernet)
  • Add state-in-constructor rule (#1945, @lukyth)
  • Add prefer-read-only-props rule (#2110, @golopot)
  • no-unescaped-entities: more friendly error message; add config to adjust (#2016, @stevemao)

Fixed

  • jsx-props-no-multi-spaces: support generic components (ts) (#2256, @mateuszsokola)
  • prop-types: fix case with destructuring and default param (#2246, @golopot)
  • prefer-stateless-function: Ignoring pure components without props and context usage (#2238, @pawelnvk)
  • propTypes: resolveSuperParameterPropsType: add null check (#2232, @jedwards1211)
  • self-closing-comp: stop reporting single-line spaces (#2210, @golopot)
  • require-render-return: more accurate report location (#2229, @golopot)
  • sort-prop-types: Fix sorting props with numeric keys (#2230, @pawelnvk)
  • display-name: fix false negative around nested functions (#2225, @dwelle)
  • no-unknown-property: fix case like <Foo.bar> (#2207, @golopot)
  • jsx-curly-brace-presence: accept multiline template string (#2203, @golopot)
  • jsx-one-expression-per-line: fix when using tabs (#2198, @Ohar)
  • prop-types: Fix false positive on computed member expression (#2202, @golopot)
  • jsx-sort-default-props: fix case with spread (#2182, @VincentLanglet)
  • no-this-in-sfc: Fix false positive on SFC defined as object property (#2147, @yannickcr)
  • sort-comp: correctly recognize instance variables declared without explicit value (#2183, @yannickcr)
  • no-unused-state: fix set state callback destructing & state use inside callback ([#2151][], @barakyosi)
  • no-multi-comp: correctly ignore wrapped stateless components: (#2145, @yannickcr)
  • display-name: avoid crash on for..of (#2137, @ljharb)

Changed

  • [Docs] no-access-state-in-setstate: Use syntax highlighting for examples ([#2160][], @pReya)
  • [Docs] jsx-fragments: add "fixable" note (#2143, @joshunger)
  • [Docs] Added shared settings info, React version default note (#2180, @samsch)
  • [Tests] jsx-curly-spacing: add regression test case (#2206, @ColCh)