Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint-plugin-react to the latest version 馃殌 #41

Merged
merged 1 commit into from
May 6, 2017

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented May 6, 2017

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

Dependency eslint-plugin-react
Current Version 6.10.3
Type devDependency

The version 7.0.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.0.0

Added

Breaking

  • Update rules for React 15.5.0:
    • Add warnings for React.PropTypes and React.createClass in no-deprecated (#1148 @Calyhre)
    • Update createClass component factory to createReactClass. This is used for React component detection, if you still using React.createClass use the shared settings to specify createClass as component factory
  • Drop Node.js < 4 support (#1038 @ljharb)
  • Add no-danger-with-children rule to recommended rules (#748 @ljharb)
  • Add no-string-refs rule to recommended rules (#749 @ljharb)
  • Add jsx-key rule to recommended rules (#750 @ljharb)
  • Add jsx-no-comment-textnodes rule to recommended rules (#751 @ljharb)
  • Add jsx-no-target-blank rule to recommended rules (#752 @ljharb)
  • Add no-unescaped-entities rule to recommended rules (#841 @ljharb)
  • Add no-children-prop rule to recommended rules (#842 @ljharb)
  • Remove deprecated wrap-multilines rule, use jsx-wrap-multilines instead
  • Remove deprecated no-comment-textnodes rule, use jsx-no-comment-textnodes instead
  • Remove deprecated require-extension rule, use the eslint-plugin-import extensions rule instead
  • Deprecate jsx-space-before-closing rule, use the jsx-tag-spacing rule instead. jsx-space-before-closing still works but will trigger a warning (#1070 @afairb)
  • jsx-first-prop-new-line default is now multiline-multiprop (#802 @kokarn)
  • jsx-wrap-multilines now checks arrow functions without block body. It can be deactivated in rule options (#790 @ColCh)
  • jsx-no-undef will not check the global scope by default. You can force it with the allowGlobals option (#1013 @jomasti)

Fixed

  • Fix no-unused-prop-types false positive with nextProps (#1079 @Kerumen)
  • Fix prefer-stateless-function to not warn on classes with decorators (#1034 @benstepp)

Changed

Commits

The new version differs by 58 commits0.

  • d335b1f Update CHANGELOG and bump version
  • d97e5f0 Merge pull request #1167 from Slumber86/master
  • 79415f1 Wrong import
  • 48a397e Fix syntax error
  • 2cd9e5e Update docs for deprecated prop-types
  • 4d5faee Update CHANGELOG and bump version
  • dfe190b Merge pull request #1134 from MatthewHerbst/jsx-sort-props/new-rule-option--reservedFirst
  • 14dbf99 Merge pull request #802 from kokarn/master
  • 7d08955 Add default for jsx-first-prop-new-line
  • 21ed801 Fix lint errors
  • b5856ca Merge pull request #791 from Lingvokot/790-stateless-multiline-wrap
  • 77048c8 Remove deprecated wrap-multilines rule
  • 6d6d24a Remove deprecated no-comment-textnodes rule
  • 229cc21 Remove deprecated require-extension rule
  • ed928c2 Merge pull request #1013 from jomasti/jsx-no-undef-imported-only

There are 58 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 馃尨

@coveralls
Copy link

Coverage Status

Coverage remained the same at 78.899% when pulling 18a2b70 on greenkeeper/eslint-plugin-react-7.0.0 into 14a7e6e on master.

@BerkeleyTrue BerkeleyTrue merged commit bf17fbb into master May 6, 2017
@greenkeeper greenkeeper bot deleted the greenkeeper/eslint-plugin-react-7.0.0 branch May 6, 2017 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants