Socket
Socket
Sign inDemoInstall

eslint-plugin-react

Package Overview
Dependencies
Maintainers
2
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react - npm Package Versions

1
21

4.2.2

Diff

Changelog

Source

[4.2.2] - 2016-03-14

Fixed

  • Rewrite [prefer-stateless-function][] rule ([#491][])
  • Fix [self-closing-comp][] to treat non-breaking spaces as content ([#496][])
  • Fix detection for direct props in [prop-types][] ([#497][])
  • Fix annotated function detection in [prop-types][] ([#498][])
  • Fix this usage in [jsx-no-undef][] ([#489][])

Changed

  • Update dependencies
  • Add shared setting for React version
yannickcr
published 4.2.1 •

Changelog

Source

[4.2.1] - 2016-03-08

Fixed

  • Fix [sort-prop-types][] crash with spread operator ([#478][])
  • Fix stateless components detection when conditionally returning JSX ([#486][])
  • Fix case where props were not assigned to the right component ([#485][])
  • Fix missing getChildContext lifecycle method in [prefer-stateless-function][] ([#492][])
yannickcr
published 4.2.0 •

Changelog

Source

[4.2.0] - 2016-03-05

Added

  • Add support for Flow annotations on stateless components ([#467][])
  • Add [prefer-stateless-function][] rule ([#214][])
  • Add auto fix for [jsx-indent-props][] ([#483][] @shioju)

Fixed

  • Fix [jsx-no-undef][] crash on objects ([#469][])
  • Fix propTypes detection when declared before the component ([#472][])

Changed

  • Update dependencies
  • Documentation improvements ([#464][] @alex-tan, [#466][] @awong-dev, [#470][] @Gpx; [#462][] @thaggie)
yannickcr
published 4.1.0 •

Changelog

Source

[4.1.0] - 2016-02-23

Added

  • Add component detection for class expressions
  • Add displayName detection for class expressions in [display-name][] ([#419][])

Fixed

  • Fix used props detection in components for which we are not confident in [prop-types][] ([#420][])
  • Fix false positive in [jsx-key][] ([#456][] @jkimbo)

Changed

  • Documentation improvements ([#457][] @wyze)
yannickcr
published 4.0.0 •

Changelog

Source

[4.0.0] - 2016-02-19

Added

  • Add [jsx-space-before-closing][] rule ([#244][] @ryym)
  • Add support for destructing in function signatures to [prop-types][] ([#354][] @lencioni)

Breaking

  • Add support for static methods to sort-comp. Static methods must now be declared first, see rule documentation ([#128][] @lencioni)
  • Add shareable config in place of default configuration. [jsx-uses-vars][] is not enabled by default anymore, see documentation ([#192][])
  • Rename jsx-sort-prop-types to [sort-prop-types][]. jsx-sort-prop-types still works but will trigger a warning ([#87][] @lencioni)
  • Remove deprecated jsx-quotes rule ([#433][] @lencioni)
  • [display-name][] now accept the transpiler name by default. You can use the ignoreTranspilerName option to get the old behavior, see rule documentation ([#440][] @lencioni)

Fixed

  • Only ignore lowercase JSXIdentifier in [jsx-no-undef][] ([#435][])
  • Fix [jsx-handler-names][] regex ([#425][])
  • Fix destructured props detection in [prop-types][] ([#443][])

Changed

  • Update dependencies ([#426][] @quentin-)
  • Documentation improvements ([#414][] @vkrol, [#370][] @tmcw, [#441][] [#429][] @lencioni, [#432][] @note89, [#438][] @jmann6)
yannickcr
published 4.0.0-rc.1 •

yannickcr
published 4.0.0-rc.0 •

yannickcr
published 3.16.1 •

Changelog

Source

[3.16.1] - 2016-01-24

Fixed

  • Fix [jsx-sort-prop-types][] issue with custom propTypes ([#408][] @alitaheri)
yannickcr
published 3.16.0 •

Changelog

Source

[3.16.0] - 2016-01-24

Added

  • Add [jsx-equals-spacing][] rule ([#394][] @ryym)
  • Add auto fix for wrap-multiline
  • Add auto fix for jsx-boolean-value
  • Add auto fix for no-unknown-property
  • Add auto fix for [jsx-curly-spacing][] ([#407][] @ewendel)
  • Add requiredFirst option to [jsx-sort-prop-types][] ([#392][] @chrislaskey)
  • Add ignoreRefs option to [jsx-no-bind][] ([#330][] @silvenon)

Fixed

  • Ignore ref in [jsx-handler-names][] (again) ([#396][])

Changed

  • Update dependencies
yannickcr
published 3.15.0 •

Changelog

Source

[3.15.0] - 2016-01-12

Added

  • Add support for flow annotations to [prop-types][] ([#382][] @phpnode)

Fixed

  • Fix [prop-types][] crash when initializing class variable with an empty object ([#383][])
  • Fix [prop-types][] crash when propTypes are using the spread operator ([#389][])

Changed

  • Improve [sort-comp][] error messages ([#372][] @SystemParadox)
  • Update dependencies
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc