Socket
Socket
Sign inDemoInstall

eslint-plugin-react

Package Overview
Dependencies
191
Maintainers
2
Versions
204
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
17182021Next

2.6.1

Diff

Changelog

Source

[2.6.1] - 2015-06-28

Fixed

  • Fix crash in [prop-types][] when encountering an empty variable declaration ([#130][])
yannickcr
published 2.6.0 •

Changelog

Source

[2.6.0] - 2015-06-28

Added

  • Add support for nested propTypes ([#62][] [#105][] @Cellule)
  • Add [require-extension][] rule ([#117][] @scothis)
  • Add support for computed string format in [prop-types][] ([#127][] @Cellule)
  • Add ES6 methods to [sort-comp][] default configuration ([#97][] [#122][])
  • Add support for props destructuring directly on the this keyword
  • Add acceptTranspilerName option to [display-name][] rule ([#75][])
  • Add schema to validate rules options

Changed

  • Update dependencies

Fixed

  • Fix test command for Windows ([#114][] @Cellule)
  • Fix detection of missing displayName and propTypes when ecmaFeatures.jsx is false ([#119][] @rpl)
  • Fix propTypes destructuring with properties as string ([#118][] @Cellule)
  • Fix [jsx-sort-prop-types][] support for keys as string ([#123][] @Cellule)
  • Fix crash if a ClassProperty has only one token ([#125][])
  • Fix invalid class property handling in [jsx-sort-prop-types][] ([#129][])
yannickcr
published 2.5.2 •

Changelog

Source

[2.5.2] - 2015-06-14

Fixed

  • Fix regression in [jsx-uses-vars][] with babel-eslint ([#110][])
yannickcr
published 2.5.1 •

Changelog

Source

[2.5.1] - 2015-06-14

Changed

  • Update dependencies
  • Documentation improvements ([#99][] @morenoh149)

Fixed

  • Fix [prop-types][] crash when propTypes definition is invalid ([#95][])
  • Fix [jsx-uses-vars][] for ES6 classes ([#96][])
  • Fix hasOwnProperty that is taken for a prop ([#102][])
yannickcr
published 2.5.0 •

Changelog

Source

[2.5.0] - 2015-06-04

Added

  • Add option to make [wrap-multilines][] more granular ([#94][] @PiPeep)

Changed

  • Update dependencies
  • Documentation improvements ([#92][] [#93][] @lencioni)
yannickcr
published 2.4.0 •

Changelog

Source

[2.4.0] - 2015-05-30

Added

  • Add pragma option to [jsx-uses-react][] ([#82][] @dominicbarnes)
  • Add context props to [sort-comp][] ([#89][] @zertosh)

Changed

  • Update dependencies
  • Documentation improvement ([#91][] @matthewwithanm)

Fixed

  • Fix itemID in [no-unknown-property][] rule ([#85][] @cody)
  • Fix license field in package.json ([#90][] @zertosh)
  • Fix usage of contructor in [sort-comp][] options ([#88][])
yannickcr
published 2.3.0 •

Changelog

Source

[2.3.0] - 2015-05-14

Added

  • Add [sort-comp][] rule ([#39][])
  • Add allow-in-func option to [no-did-mount-set-state][] ([#56][])

Changed

  • Update dependencies
  • Improve errors locations for prop-types

Fixed

  • Fix quoted propTypes in ES6 ([#77][])
yannickcr
published 2.2.0 •

Changelog

Source

[2.2.0] - 2015-04-22

Added

  • Add [jsx-sort-prop-types][] rule ([#38][] @AlexKVal)

Changed

  • Documentation improvements ([#71][] @AlexKVal)

Fixed

  • Fix variables marked as used when a prop has the same name ([#69][] @burnnat)
yannickcr
published 2.1.1 •

Changelog

Source

[2.1.1] - 2015-04-17

Added

  • Add support for classes static properties ([#43][])
  • Add tests for the babel-eslint parser
  • Add ESLint as peerDependency ([#63][] @AlexKVal)

Changed

  • Documentation improvements ([#55][] @AlexKVal, [#60][] @chriscalo)
yannickcr
published 2.1.0 •

Changelog

Source

[2.1.0] - 2015-04-06

Added

  • Add [jsx-boolean-value][] rule ([#11][])
  • Add support for static methods in [display-name][] and [prop-types][] ([#48][])

Changed

  • Update [jsx-sort-props][] to reset the alphabetical verification on spread ([#47][] @zertosh)
  • Update [jsx-uses-vars][] to be enabled by default ([#49][] @banderson)

Fixed

  • Fix describing comment for hasSpreadOperator() method ([#53][] @AlexKVal)
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc