codeclimate / codeclimate-eslint

Code Climate Engine for ESLint
MIT License
95 stars 93 forks source link

Update eslint-plugin-react to the latest version 🚀 #334

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 7.4.0 of eslint-plugin-react just got published.

Dependency eslint-plugin-react
Current Version 6.10.3
Type dependency

The version 7.4.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of eslint-plugin-react. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v7.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

Changed

Commits

The new version differs by 472 commits.

  • dc9f85e Update CHANGELOG and bump version
  • 99b12a2 Merge pull request #1432 from jneuendorf/master
  • d2005b1 fixed typos in no-multi-comp
  • ddd05b1 Update CHANGELOG and bump version
  • 7e336aa Merge pull request #1415 from jseminck/intersection-imported-type
  • ad26580 Merge pull request #1387 from zpao/update-expression
  • 09c4ed7 Add tests for {...} & Props in addition to Props & {...}
  • 357dcda buildReactDeclarationTypes to always return an object
  • 0ee5e93 Rewrite reduce to ignorePropsValidation as some()
  • 3e9aefe Make buildTypeAnnotationDeclarationTypes always return an object instead of boolean or an object
  • 3e4d184 Aadd support also for no-unused-prop-types
  • 19a2911 Clean up the code a bit
  • 20f75ee Add support for TypeA & { ... }
  • a771125 Add similar supprt for no-used-prop-types
  • 87aca04 Add support for multiple Flow IntersectionTypeAnnotations and skip propTypes when one of the intersected props is not found, e.g. when imported

There are 250 commits in total.

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree: