travi / blog

progress toward my future blog
https://travi.github.io/blog
MIT License
1 stars 0 forks source link

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

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

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

Dependency eslint-plugin-react
Current Version 6.7.1
Type devDependency

The version 6.8.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 v6.8.0

Added

Fixed

  • Fix jsx-indent with multiline jsx in ternaries (#966)
  • Fix component detection to ignore async functions (#989 @taion)
  • Fix jsx-curly-spacing autofix to not delete comments (#648)
  • FIx auto-enabling of eslint-plugin-react in exported configurations (#984 @jamischarles)

Changed

Commits

The new version differs by 31 commits .

  • 5948d59 Update CHANGELOG and bump version
  • 85cfaea Update dependencies
  • a3493cc Add support for flow variance syntax (fixes #961)
  • 754022c getKeyValue should account for variance syntax
  • c107636 Add unit tests
  • d14ffb4 Fix comment deletion in jsx-curly-spacing autofix (fixes #648)
  • e1abec9 Add require-default-props rule (fixes #528)
  • f89acbd Fix component detection ignore async functions
  • 8a9f3c1 Don't treat async functions as components
  • fe32c7d Merge pull request #978 from yannickcr/no-array-index-key
  • 333938f Merge pull request #984 from jamischarles/master
  • 004412c Fix plugin typo in configs
  • cff595e Add examples of find() to no-array-index-key docs
  • 56a4b57 Teach no-array-index-key about reduce and reduceRight
  • f5c818a Teach no-array-index-key about React.cloneElement

There are 31 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: