Socket
Socket
Sign inDemoInstall

eslint-plugin-react

Package Overview
Dependencies
Maintainers
2
Versions
211
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
22

3.9.0

Diff

Changelog

Source

[3.9.0] - 2015-11-17

Added

  • Add [jsx-key][] rule ([#293][] @benmosher)
  • Add allow-in-func option to [no-did-update-set-state][] ([#300][])
  • Add option to only enforce [jsx-closing-bracket-location][] rule to one type of tag (nonEmpty or selfClosing) ([#307][])

Fixed

  • Fix crash when destructuring with only the rest spread ([#269][])
  • Fix variables detection when searching for related components ([#303][])
  • Fix [no-unknown-property][] to not check custom elements ([#308][] @zertosh)

Changed

  • Improve [jsx-closing-bracket-location][] error message ([#301][] @alopatin)
  • Update dependencies
yannickcr
published 3.8.0 •

Changelog

Source

[3.8.0] - 2015-11-07

Added

  • Add ignoreStateless option to [no-multi-comp][] ([#290][])

Fixed

  • Fix classes with properties to always be marked as components ([#291][])
  • Fix ES5 class detection when using createClass by itself ([#297][])
  • Fix direct props detection ([#298][])
  • Ignore functions containing the keyword this during component detection
yannickcr
published 3.7.1 •

Changelog

Source

[3.7.1] - 2015-11-05

Fixed

  • Fix [sort-comp][] crash on stateless components ([#285][])
  • Fix crash in ES5 components detection ([#286][])
  • Fix ES5 components detection from nested functions ([#287][])
yannickcr
published 3.7.0 •

Changelog

Source

[3.7.0] - 2015-11-05

Added

  • Add [jsx-no-bind][] rule ([#184][] @Daniel15)
  • Add line-aligned option to [jsx-closing-bracket-location][] ([#243][] @alopatin)

Fixed

  • Fix a lot of issues about components detection, mostly related to stateless components ([#264][], [#267][], [#268][], [#276][], [#277][], [#280][])

Changed

  • Update dependencies
yannickcr
published 3.6.3 •

Changelog

Source

[3.6.3] - 2015-10-20

Fixed

  • Fix [display-name][] for stateless components ([#256][])
  • Fix [prop-types][] props validation in constructor ([#259][])
  • Fix typo in README ([#261][] @chiedojohn)
yannickcr
published 3.6.2 •

Changelog

Source

[3.6.2] - 2015-10-18

Fixed

  • Fix wrong prop-types detection ([#255][])
yannickcr
published 3.6.1 •

Changelog

Source

[3.6.1] - 2015-10-18

Fixed

  • Fix props validation in constructor ([#254][])
yannickcr
published 3.6.0 •

Changelog

Source

[3.6.0] - 2015-10-18

Added

  • Add support for stateless function components to [display-name][] and [prop-types][] ([#237][])
  • Add callbacksLast option to [jsx-sort-props][] and [jsx-sort-prop-types][] ([#242][] @Daniel15)
  • Add [prefer-es6-class][] rule ([#247][] @hamiltondanielb)

Fixed

  • Fix [forbid-prop-types][] crash with destructured PropTypes ([#230][] @epmatsw)
  • Fix [forbid-prop-types][] to do not modify AST directly ([#249][] @rhysd)
  • Fix [prop-types][] crash with empty destructuring ([#251][])
  • Fix [prop-types][] to not validate computed keys in destructuring ([#236][])

Changed

  • Update dependencies
  • Improve components detection ([#233][])
  • Documentation improvements ([#248][] @dguo)
yannickcr
published 3.5.1 •

Changelog

Source

[3.5.1] - 2015-10-01

Fixed

  • Fix [no-direct-mutation-state][] to report only in React components ([#229][])
  • Fix [forbid-prop-types][] for arrayOf and instanceOf ([#230][])

Changed

  • Documentation improvements ([#232][] @edge)
yannickcr
published 3.5.0 •

Changelog

Source

[3.5.0] - 2015-09-28

Added

  • Add [no-direct-mutation-state][] rule ([#133][], [#201][] @petersendidit)
  • Add [forbid-prop-types][] rule ([#215][] @pwmckenna)

Fixed

  • Fix no-did-mount/update-set-state rules, these rules were not working on ES6 classes

Changed

  • Update dependencies
  • Documentation improvements ([#222][] @Andersos)
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