decca
decca copied to clipboard
Update eslint-plugin-react to version 7.0.0 🚀
🚨🔥⚠️ Action required: Switch to the new Greenkeeper now! 🚨🔥⚠️ |
---|
This version of Greenkeper will be shutdown on May 31st. |
With Integrations first-class bot support landed on GitHub and we’ve rewritten Greenkeeper to take full advantage of it. Simpler setup, fewer pull-requests, faster than ever.![]() |
Hello lovely humans,
eslint-plugin-react just published its new version 7.0.0.
State | Update :rocket: |
---|---|
Dependency | eslint-plugin-react |
New version | 7.0.0 |
Type | devDependency |
This version 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.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project :sparkles:
You rock!
:palm_tree:
Added
- Add
no-will-update-set-state
rule (#1139 @ManThursday) - Add import and destructuring support to
no-deprecated
- Add
reservedFirst
option tojsx-sort-props
(#1134 @MatthewHerbst)
Breaking
- Update rules for React 15.5.0:
- 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, usejsx-wrap-multilines
instead - Remove deprecated
no-comment-textnodes
rule, usejsx-no-comment-textnodes
instead - Remove deprecated
require-extension
rule, use the eslint-plugin-importextensions
rule instead - Deprecate
jsx-space-before-closing
rule, use thejsx-tag-spacing
rule instead.jsx-space-before-closing
still works but will trigger a warning (#1070 @afairb) jsx-first-prop-new-line
default is nowmultiline-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 theallowGlobals
option (#1013 @jomasti)
Fixed
- Fix
no-unused-prop-types
false positive withnextProps
(#1079 @Kerumen) - Fix
prefer-stateless-function
to not warn on classes with decorators (#1034 @benstepp)
Changed
- Update dependencies (#1119 @danez)
- Documentation improvements (#1121 @omerzach, #1130 @dreid, #1131 @shoesandsocks, #1149 @Adzz, #1151 @MatthewHerbst, #1167 @Slumber86)
The new version differs by 415 commits .
-
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 250 commits in total. See the full diff.