Npms_big

eslint-plugin-react

7.1.0

React specific linting rules for ESLint

(eslint, eslint-plugin, eslintplugin, react)

Critical or Security advisories for 7.1.0

This version doesn't have any advisory. Want to report one?

Changelog for 7.1.0

Added

  • Add default-props-match-prop-types rule (#1022 @webOS101)
  • Add no-redundant-should-component-update rule (#985 @jomasti)
  • Add jsx-closing-tag-location rule (#1206 @rsolomon)
  • Add auto fix for jsx-max-props-per-line (#949 @snowypowers)
  • Add support for lifecycle methods with nextProps/prevProps in no-unused-prop-types (#1213 @jseminck)
  • Add Flow SuperTypeParameters support to prop-types (#1236 @gpeal)
  • Add children option to jsx-curly-spacing (#857 @fatfisz)

Fixed

  • Fix prefer-stateless-function ignorePureComponents option when using class expressions (#1122 @dreid)
  • Fix void-dom-elements-no-children crash (#1195 @oliviertassinari)
  • Fix require-default-props quoted defaultProps detection (#1201)
  • Fix jsx-sort-props bug with ignoreCase and callbacksLast options set to true (#1175 @jseminck)
  • Fix no-unused-proptype false positive (#1183 #1135 @jseminck)
  • Fix jsx-no-target-blank to not issue errors for non-external URLs (#1216 @gfx)
  • Fix prop-types quoted Flow types detection (#1132 @ethanjgoldberg)
  • Fix no-array-index-key crash with key without value (#1242 @jseminck)

Changed

  • Set ESLint 4.0.0 as valid peerDependency
  • Dead code removal (#1227 @jseminck)
  • Update dependencies (@ljharb)
  • Documentation improvements (#1071 @adnasa, #1199 @preco21, #1222 @alexilyaev, #1231 @vonovak, #1239 @webOS101, #1241 @102)

Dependencies for 7.1.0

Name Requirement Status
^7.2.3

^2.13.1

^2.0.0

^4.0.0

Npms has
^1.0.1

0.4.5

^1.4.1

^3.4.2

My projects using eslint-plugin-react

Name Locked version Requirement
You should be logged in to see which of your projects use eslint-plugin-react.