This version is outdated! Click here to see latest
Npms_big

eslint-plugin-react

7.4.0

React specific linting rules for ESLint

(eslint, eslint-plugin, eslintplugin, react)

Critical or Security advisories for 7.4.0

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

Changelog for 7.4.0

Added

  • Add Flow 0.53 support (#1376 @jseminck)
  • Add jsx-curly-brace-presence rule (#1310 @jackyho112)
  • Add support for Flow IntersectionTypeAnnotation to prop-types and no-unused-prop-types (#1364 #1323 @jseminck)
  • Add support for Flow TypedArgument to no-unused-prop-types (#1412 @jseminck)
  • Add support for Flow ClassExpressions to prop-types (#1400 @jseminck)
  • Add support for Flow read-only props to no-unused-prop-types (#1388 @jseminck)
  • Add more tests for prop-types and no-unused-prop-types (#1381 @DianaSuvorova)
  • Add support for increment and decrement operations to no-direct-mutation-state (#1386 @zpao)

Fixed

  • Fix no-unused-state to ignore computed property keys (#1361 @jackyho112)
  • Fix no-typos crash (#1406 @jseminck)
  • Fix boolean-prop-naming crash (#1409 @EvHaus)
  • Fix prop-types and no-unused-prop-types crash with IntersectionTypeAnnotation (#1413 @jseminck)

Changed

  • Documentation improvements (#1392 @xcatliu, #1403 @piperchester, #1432 @jneuendorf)

Dependencies for 7.4.0

Name Requirement Status
^7.2.3

^2.13.1

^2.0.0

^4.3.0

Npms has
^1.0.1

0.4.5

^2.0.0

^3.5.0

^15.5.10

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.