Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-react

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

6.4.1

Diff

Changelog

Source

[6.4.1] - 2016-10-10

Fixed

  • Fix [jsx-indent][] for arrays ([#897][], [#898][])
  • Fix [jsx-indent][] to allow multi-line logical expressions with one level of indent ([#896][])
yannickcr
published 6.4.0 •

Changelog

Source

[6.4.0] - 2016-10-09

Added

  • Add skipUndeclared option to [prop-types][] ([#846][] @pfhayes)

Fixed

  • Fix [jsx-no-bind][] crash on arrow functions ([#854][])
  • Fix [display-name][] false negative on es6-style method in React.createClass ([#852][])
  • Fix [prefer-stateless-function][] to allow components with childContextTypes ([#853][])
  • Fix [no-children-prop][] spread support ([#862][] @randycoulman)
  • Fix [no-unused-prop-types][] to ignore validation when spread is used ([#840][])
  • Fix [jsx-closing-bracket-location][] for multi-line prop ([#889][])
  • Fix [jsx-indent][] in multi-line function calls ([#895][])
  • Fix [jsx-indent][] in multi-line logical expressions ([#540][])

Changed

  • Update dependencies
  • Documentation improvements ([#860][] @fson, [#863][] @corydolphin, [#830][] @eelyafi, [#876][] @manovotny, [#877][] @gaearon)
yannickcr
published 6.3.0 •

Changelog

Source

[6.3.0] - 2016-09-20

Added

  • Add [no-children-prop][] rule ([#720][] @benstepp)
  • Add [no-unescaped-entities][] rule ([#681][] @pfhayes)
  • Add JSXExpressionContainer support to [jsx-indent][] rule ([#838][] @eelyafi)

Fixed

  • Fix [style-prop-object][] crash ([#834][])
  • Fix [style-prop-object][] false positive on computed properties ([#820][])
  • Fix [style-prop-object][] to deal with null and spread props that can't be resolved ([#809][] [#812][] @petersendidit)
yannickcr
published 6.2.2 •

Changelog

Source

[6.2.2] - 2016-09-15

Fixed

  • Fix [no-unused-prop-types][] crash ([#825][] @EvNaverniouk)
  • Fix [jsx-no-target-blank][] crash ([#821][])
yannickcr
published 6.2.1 •

Changelog

Source

[6.2.1] - 2016-09-13

Fixed

  • Fix false positive in [no-unused-prop-types][] ([#792][] @EvNaverniouk)
  • Fix [jsx-no-target-blank][] to target only anchor elements ([#793][] @aduth)
  • Fix [jsx-no-target-blank][] to be case insensitive [#796][] @dmnd)
  • Fix [jsx-uses-vars][] shadowed variables handling ([#799][])

Changed

  • Update dependencies
  • Documentation improvements (@ljharb, [#794][] @dougshamoo, [#813][] @AndiDog, [#815][] @chris-vaszauskas)
yannickcr
published 6.2.0 •

Changelog

Source

[6.2.0] - 2016-08-28

Added

  • Add [no-unused-prop-types][] rule ([#226][] @EvNaverniouk)
  • Add [style-prop-object][] rule ([#715][] @petersendidit)
  • Add auto fix for [self-closing-comp][] ([#770][] @pl12133)
  • Add support for typeAnnotations in [sort-comp][] ([#235][] @dozoisch)
  • Add support for PureComponent in [prefer-stateless-function][] ([#781][] @tiemevanveen)

Fixed

  • Fix [jsx-uses-vars][] to work better with prefer-const. You'll need to upgrade to ESLint 3.4.0 to completely fix the compatibility issue ([#716][])
  • Fix [require-render-return][] crash ([#784][])
  • Fix related components detection in [prop-types][] ([#735][])
  • Fix component detection to ignore functions expression without a parent component

Changed

  • Update dependencies
  • Documentation improvements (@lencioni)
yannickcr
published 6.1.2 •

Changelog

Source

[6.1.2] - 2016-08-17

Fixed

  • Fix nested spread handling in [no-danger-with-children][] ([#771][] @petersendidit)

Changed

  • Documentation improvements
yannickcr
published 6.1.1 •

Changelog

Source

[6.1.1] - 2016-08-16

Fixed

  • Fix [prop-types][] on annotated components ([#766][])
  • Fix [no-danger-with-children][] spread support ([#767][] @petersendidit)

Changed

  • Documentation improvements ([#769][] @daltones)
yannickcr
published 6.1.0 •

Changelog

Source

[6.1.0] - 2016-08-14

Added

  • Add React.PureComponent support ([#737][])
  • Add [forbid-component-props][] rule ([#314][] @lencioni)
  • Add [no-danger-with-children][] rule ([#710][] @petersendidit)
  • Add pragma for createClass factory method ([#725][] @zurawiki)

Fixed

  • Fix Node.js 0.10 support ([#746][])
  • Fix [prop-types][] on annotated components ([#729][])
  • Fix [require-optimization][] test for function declaration ([#744][] @Tom910)
  • Fix [jsx-uses-vars][] to handle nested object properties ([#761][] @yayalice)
  • Fix rules metadata

Changed

  • Update dependencies
  • Documentation improvements ([#759][] @embrown, [#703][] [#753][] @lencioni, [#739][] @ljharb, [#731][] @wKich, [#745][] @petersendidit, [#659][] @dguo)
yannickcr
published 6.0.0 •

Changelog

Source

[6.0.0] - 2016-08-01

Added

  • Add an all shareable configuration with all rules enabled ([#674][] @pfhayes)
  • Add [no-find-dom-node][] rule ([#678][])
  • Add shorthandLast option to [jsx-sort-props][] ([#391][] @mathieumg)
  • Add allowDecorators option to [require-optimization][] ([#669][] @Tom910)

Breaking

  • Deprecate [require-extension][] rule, use the eslint-plugin-import extensions rule instead. [require-extension][] still works but will trigger a warning
  • Enable allow-in-func mode by default in [no-did-mount-set-state][] and [no-did-update-set-state][] rules ([#702][] @lencioni)
  • Enable html tags check by default in self-closing-comp
  • Remove pragma option from jsx-uses-react, use the shared settings to specify a custom pragma ([#700][] @lencioni)
  • Remove react option from [no-deprecated][] rule, use the shared settings to specify the React version ([#700][] @lencioni)
  • Add [require-render-return][] rule to recommended rules
  • Remove [no-danger][] from recommended rules ([#636][] @mjackson)
  • Remove [no-did-mount-set-state][] and [no-did-update-set-state][] from recommended rules ([#596][])
  • Remove deprecated [jsx-sort-prop-types][] rule, use [sort-prop-types][] instead ([#549][] @lencioni)
  • Rename [no-comment-textnodes][] to [jsx-no-comment-textnodes][]. [no-comment-textnodes][] still works but will trigger a warning ([#668][] @lencioni)
  • Rename [wrap-multilines][] to [jsx-wrap-multilines][]. [wrap-multilines][] still works but will trigger a warning ([#668][] @lencioni)
  • Add ESLint as peerDependency ([#657][] @jokeyrhyme)
  • Add Node.js 0.10 as minimum required version ([#657][] @jokeyrhyme)

Fixed

  • Fix [jsx-handler-names][] incorrectly flagging only ([#571][] @lencioni)
  • Fix spread props cash in [jsx-no-target-blank][] ([#679][] @randycoulman)
  • Fix [require-optimization][] warning on stateless components ([#687][])
  • Fix [jsx-uses-vars][] that incorrectly marked some variables as used ([#694][] @lencioni)
  • Fix [no-unknown-property][] check on SVG attributes ([#718][])
  • Fix [jsx-no-bind][] reporting errors on render functions that don't return JSX ([#663][] @petersendidit)
  • Fix [jsx-closing-bracket-location][] autofix when location is set to props-aligned ([#684][] @pfhayes)
  • Fix [prop-types][] for destructured arguments being assigned to the parent stateless component in some cases ([#698][])
  • Fix [prop-types][] for JSX return being assigned to the parent function in some cases ([#504][])
  • Fix [jsx-curly-spacing][] for reporting on JSX content by mistake ([#671][])
  • Fix [prop-types][] crash when accessing constructor on props ([#654][])
  • Fix [jsx-filename-extension][] to not check filenames on text input ([#662][] @ljharb)
  • Fix [jsx-no-comment-textnodes][] incorrectly catching urls ([#664][] @petersendidit)

Changed

  • Only report [jsx-filename-extension][] warning once per file ([#660][] @mathieumg)
  • Update SVG and DOM attribute list for no-unknown-property
  • Update rules to use the new ESLint rule format ([#661][] @petersendidit)
  • Update dependencies
  • Documentation improvements ([#724][] @lencioni)
  • Update Travis CI and AppVeyor CI configurations (@ljharb)
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