Update eslint-plugin-react to version 6.0.0 π
Hello lovely humans,
eslint-plugin-react just published its new version 6.0.0.
| State | Update :rocket: |
|---|---|
| Dependency | eslint-plugin-react |
| New version | 6.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 an
allsharable configuration with all rules enabled (#674 @pfhayes) - Add
no-find-dom-noderule (#678) - Add
shorthandFirstoption tojsx-sort-props(#391 @mathieumg) - Add
allowDecoratorsoption torequire-optimization(#669 @Tom910)
Breaking
- Deprecate
require-extensionrule, use the eslint-plugin-importextensionsrule instead.require-extensionstill works but will trigger a warning - Enable
allow-in-funcmode by default inno-did-mount-set-stateandno-did-update-set-staterules (#702 @lencioni) - Enable html tags check by default in
self-closing-comp - Remove
pragmaoption fromjsx-uses-react, use the shared settings to specify a custom pragma (#700 @lencioni) - Remove
reactoption fromno-deprecatedrule, use the shared settings to specify the React version (#700 @lencioni) - Add
require-render-returnrule to recommended rules - Remove
no-dangerfrom recommended rules (#636 @mjackson) - Remove
no-did-mount-set-stateandno-did-update-set-statefrom recommended rules (#596) - Remove deprecated
jsx-sort-prop-typesrule, usesort-prop-typesinstead (#549 @lencioni) - Rename
no-comment-textnodestojsx-no-comment-textnodes.no-comment-textnodesstill works but will trigger a warning (#668 @lencioni) - Rename
wrap-multilinestojsx-wrap-multilines.wrap-multilinesstill works but will trigger a warning (#668 @lencioni) - Add ESLint as peerDependency (#657 @jokeyrhyme)
- Add Node.js 0.10 as minimum required version (#657 @jokeyrhyme)
Fixed
- Fix
jsx-handler-namesincorrectly flaggingonly(#571 @lencioni) - Fix spread props cash in
jsx-no-target-blank(#679 @randycoulman) - Fix
require-optimizationwarning on stateless components (#687) - Fix
jsx-uses-varsthat incorrectly marked some variables as used (#694 @lencioni) - Fix
no-unknown-propertycheck on SVG attributes (#718) - Fix
jsx-no-bindreporting errors on render functions that don't return JSX (#663 @petersendidit) - Fix
jsx-closing-bracket-locationautofix whenlocationis set toprops-aligned(#684 @pfhayes) - Fix
prop-typesfor destructured arguments being assigned to the parent stateless component in some cases (#698) - Fix
prop-typesfor JSX return being assigned to the parent function in some cases (#504) - Fix
jsx-curly-spacingfor reporting on JSX content by mistake (#671) - Fix
prop-typescrash when accessing constructor on props (#654) - Fix
jsx-filename-extensionto not check filenames on text input (#662 @ljharb) - Fix
jsx-no-comment-textnodesincorrectly catching urls (#664 @petersendidit)
Changed
- Only report
jsx-filename-extensionwarning once per file (#660 @mathieumg) - Update SVG and DOM attribute list for
no-unknown-property - Update rules to use the new ESLint rule format (#661 @petersendidit)
- Update dependencies
- Documentation improvements (#724 @lencioni)
- Update Travis CI and AppVeyor CI configurations (@ljharb)
The new version differs by 94 commits .
9abc070Update CHANGELOG and bump version906c96dUpdate CHANGELOG and bump versiond19d0d5Revert "Completing cleanup ofno-comment-textnodesrule."99f5eacFix wrap-multilines rule1a1dcdbPrevent jsx-handler-names from incorrectly flaggingonly2f7a462Completing cleanup ofno-comment-textnodesrule.bf35995Update CHANGELOG and bump version19ece14Update dependencies4c94f32Update self-closing-comp to check html tags by defaulte84af68Add require-render-return rule to recommended configuration936c42aDeprecate require-extension rule21f684aAdd rules metadata docsa566536Update SVG and DOM attribute list for no-unknown-property34c8a10Fix no-unknown-property check on SVG attributes (fixes #718)095968cDon't include deprecated rules inallconfig
There are 94 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? :zap: greenkeeper upgrade