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 πŸš€ #128

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

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

Dependency eslint-plugin-react
Current Version 6.9.0
Type devDependency

The version 6.10.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.10.0

Added

Fixed

  • Fix require-default-props crash (#1029)
  • Fix require-default-props rule when using Flow type from assignment (#1043 @wyze @CarlRosell)
  • Fix style-prop-object to not warn with explicit null or undefined (#812 @ljharb)
  • Fix no-unused-prop-types props detection in stateless components (#885 @BarryThePenguin)
  • Fix display-name false positive with document.createElement (#996 @jomasti)
  • Fix ESLint 2 compatibility (@ljharb)

Changed

Commits

The new version differs by 49 commits .

  • 83d4c4b Update CHANGELOG and bump version
  • ee144d6 Merge pull request #890 from kentor/forbid-elements
  • 3e2421e Merge pull request #946 from BarryThePenguin/no-unused-prop-types-in-jsx
  • 3b25a3b Merge pull request #882 from kentor/jsx-max-props-per-line-updates
  • 54abb8b Merge pull request #1055 from iancmyers/icm-forbid-foreign-prop-type
  • 0b25b66 Add forbid-foreign-prop-types rule
  • c586273 Merge pull request #1062 from dguo/patch-2
  • 8e207b8 Fix no-array-index-key typo
  • d884a98 Add new rule: forbid-elements
  • c97dd0f Merge pull request #1051 from yannickcr/void-dom-elements-no-children
  • a84d5f5 jsx-max-props-per-line: Use json format in docs
  • 9af8d25 fix comments
  • d5c3e91 detect used props in jsx
  • b52f3b8 jsx-max-props-per-line: Add additional test cases
  • b485e28 jsx-max-props-per-line: Add when option

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