npms-io / npms-www

The https://npms.io website
MIT License
245 stars 35 forks source link

Update eslint-plugin-react to the latest version πŸš€ #190

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 6 years ago

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

Dependency eslint-plugin-react
Current Version 6.10.3
Type devDependency

The version 7.4.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.4.0

Added

  • Add Flow 0.53 support (#1376 @jseminck)
  • Add jsx-curly-brace-presence rule (#1310 @jackyho112)
  • Add support for Flow IntersectionTypeAnnotation to prop-types and no-unused-prop-types (#1364 #1323 @jseminck)
  • Add support for Flow TypedArgument to no-unused-prop-types (#1412 @jseminck)
  • Add support for Flow ClassExpressions to prop-types (#1400 @jseminck)
  • Add support for Flow read-only props to no-unused-prop-types (#1388 @jseminck)
  • Add more tests for prop-types and no-unused-prop-types (#1381 @DianaSuvorova)
  • Add support for increment and decrement operations to no-direct-mutation-state (#1386 @zpao)

Fixed

Changed

Commits

The new version differs by 472 commits.

  • dc9f85e Update CHANGELOG and bump version
  • 99b12a2 Merge pull request #1432 from jneuendorf/master
  • d2005b1 fixed typos in no-multi-comp
  • ddd05b1 Update CHANGELOG and bump version
  • 7e336aa Merge pull request #1415 from jseminck/intersection-imported-type
  • ad26580 Merge pull request #1387 from zpao/update-expression
  • 09c4ed7 Add tests for {...} & Props in addition to Props & {...}
  • 357dcda buildReactDeclarationTypes to always return an object
  • 0ee5e93 Rewrite reduce to ignorePropsValidation as some()
  • 3e9aefe Make buildTypeAnnotationDeclarationTypes always return an object instead of boolean or an object
  • 3e4d184 Aadd support also for no-unused-prop-types
  • 19a2911 Clean up the code a bit
  • 20f75ee Add support for TypeA & { ... }
  • a771125 Add similar supprt for no-used-prop-types
  • 87aca04 Add support for multiple Flow IntersectionTypeAnnotations and skip propTypes when one of the intersected props is not found, e.g. when imported

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

greenkeeper[bot] commented 6 years ago

Version 7.5.0 just got published.

Update to this version instead πŸš€

Release Notes v7.5.0

Added

Fixed

Changed

Commits

The new version differs by 176 commits.

  • c148893 Update CHANGELOG and bump version
  • f746d68 Update dependencies
  • 771f534 Merge pull request #1539 from jseminck/jsx-indent-bug
  • acc4f24 Use the new function also in jsx-indent-props
  • c51087c Extract isNodeFirstInLine to astUtil function
  • 6d50fb6 Fix test by using the same isNodeFirstInLine function found in jsx-closing-tag-location rule
  • 8f3dc55 Add failing test
  • 27b8279 Merge pull request #1532 from jomasti/issue-1524
  • 24190c6 Merge pull request #1398 from jseminck/components-as-class
  • cf2d6f6 Keep existing API of exporting Components
  • 04a42a9 Move private functions out of the class
  • a0d47cf Export an object with a single detect() function, removing the static class property
  • e3638ab Remove @class jsdoc
  • c379156 Move detect to a static class property
  • 8d66521 Re-write Components as a class

There are 176 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.5.1 just got published.

Update to this version instead πŸš€

Release Notes v7.5.1

Fixed

Changed

Commits

The new version differs by 7 commits.

  • 3a94a95 Update CHANGELOG and bump version
  • 32a050a Merge pull request #1549 from jseminck/documentation-fix-2
  • 31bfdf7 Add button-has-type to readme
  • 56c0a0b Merge pull request #1545 from jomasti/issue-1542
  • 3c6d571 Fix crash in no-unused-prop-types
  • e0bae03 Merge pull request #1544 from jomasti/issue-1543
  • 51ffcd0 Prevent jsx-no-bind crash

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.6.0 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 106 commits.

  • 7b742d0 Update CHANGELOG and bump version
  • 692cdc8 Merge pull request #1643 from ljharb/fix_crossorigin
  • c558451 Merge pull request #1651 from xjmdoo/master
  • f4cab9a Merge pull request #1652 from lfades/fix/no-typos
  • 20dff22 Adds more checks to MethodDefinition case and adds new test case for default parser
  • 942a92c merged one of the previous tests and added 2 new tests for the default parser
  • 1d12044 Merge pull request #1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing
  • 8360ffa support isRequired for custom props and call expressions
  • f9cc10d prop-types doesn't check nextProps of componentWillReceiveProps
  • d3840a5 add missing meta to jsx-tag-spacing
  • 36beb6d Merge pull request #1483 from b0gok/jsx-sort-default-props
  • c2c7a2a Merge pull request #1616 from jaaberg/jsx-no-literals-binary
  • e24b53f Add tests and examples with multiple spreads
  • 558576c Add more tests with spread, add examples
  • 8237551 Merge pull request #1645 from nirnaor/master

There are 106 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.6.1 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 11 commits.

  • f7441bb Update CHANGELOG and bump version
  • e56376e [Fix] no-access-state-in-setstate: handle object spread
  • d060041 Merge pull request #1659 from jzDev/jzDev/flip-crossorigin-rule
  • 1d13218 Restore tests and crossorigin attribute map
  • 843d71a Merge pull request #1653 from jetpacmonkey/master
  • d64a16b Added the missing tagName, link, to support the crossOrigin property.
  • a19b2ad Removed unnecessary mapping and tests handled by React's existing warnings.
  • f947536 Fixed crossorigin naming convention to match React's supported HTML attributes.
  • 509f2cb Use typeof === 'undefined' instead of void 0
  • e4f7e30 Mark all recursive proptypes as acceptable with {}, not true
  • 614d3bd Support recursive type annotations, fixes #913

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.7.0 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 29 commits.

  • abe8381 Update CHANGELOG and bump version
  • 0e2e046 [Dev Deps] update babel-eslint, eslint, istanbul, mocha
  • 34f83a5 [New] Add jsx-max-depth
  • e4de360 [Fix] jsx-curly-spacing problem in new tests, fixes #1414
  • a2764d9 [Tests] number comments to more easily locate failures
  • b4141d8 [Tests] Added tests for jsx-curly-spacing that deal with comments in children.
  • c996740 Merge pull request #1690 from mindspacepdx/am-should-component-update
  • e26b7e2 [Tests] clean up some formatting
  • 8ca344a Rearranged tests to be at the bottom of componentWillReceiveProps tests. Added a default parser test.
  • 3ac7943 [docs] add missing rule to readme
  • 0fa0761 Added test & working
  • e77c97f Test
  • fb2fefd Merge pull request #1675 from yuri-sakharov/fix/react-no-unused-prop-types
  • 3d83d13 Added more tests
  • 24658b5 Added more valid tests

There are 29 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.8.0 just got published.

Update to this version instead πŸš€

Release Notes v7.8.0

Added

  • Add support for fragments to react-in-jsx-scope (#1758)
  • Add support for Flow generic PropType to require-default-props (#1724 @Miziak)
  • Add component whitelist option to forbid-component-props (#1732 @ThiefMaster)
  • Add support for React 16.3 lifecycle methods to no-unused-prop-types (#1681 @bvaughn)
  • Add support for React 16.3 lifecycle methods to sort-comp (#1767 @joe-denea)
  • Add support for React 16.3 lifecycle methods to no-typos
  • Add support for prevState and nextState to no-unused-state (#1759)
  • Add warnings for componentWillMount, componentWillReceiveProps and componentWillUpdate lifecycle methods in no-deprecated (#1750 @sergei-startsev)

Fixed

Changed

Commits

The new version differs by 65 commits.

  • fb7411d Update CHANGELOG and bump version
  • b5865e8 Replace static status badge by a dynamic one
  • 79f32b1 Fix Code Climate badge in README
  • ab803e5 Update CHANGELOG and bump version
  • b26d1cc Add prevState and nextState support to no-unused-state (fixes #1759)
  • 3aac310 Add support for React 16.3 lifecycle methods to no-typos
  • 5f3f04f Merge pull request #1783 from chentsulin/patch-1
  • 26dc5a6 fix typo containing
  • 9519938 Add getSnapshotBeforeUpdate support to no-unused-prop-types (fixes #1751)
  • d51b0cc Add fragment support to react-in-jsx-scope (fixes #1758)
  • fb7ce94 Merge pull request #1771 from joe-denea/master
  • 230b0ad [Tests] fix appveyor
  • 768013e Add support for React 16.3 lifecycle methods
  • d68ef96 Merge pull request #1750 from sergei-startsev/no-deprecated
  • 8973758 [Tests] fix linting errors

There are 65 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.8.1 just got published.

Update to this version instead πŸš€

Release Notes v7.8.1

Fixed

  • Fix crash in no-deprecated when encountering a class constructor (#1785 @taddei)
Commits

The new version differs by 4 commits.

  • 431977b Update CHANGELOG and bump version
  • c29807c Merge pull request #1786 from taddei/master
  • e57ca07 [Fix] add an additional fix for #1785, and tests
  • 48f2831 Hotifx - Issue:1785 - fixed no-deprecated bug

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.8.2 just got published.

Update to this version instead πŸš€

Release Notes v7.8.2

Fixed

  • Fix crash in boolean-prop-naming when encountering a required shape prop type (#1791 @pcorpet)
Commits

The new version differs by 3 commits.

  • 668d7cc Update CHANGELOG and bump version
  • 5e5895f Merge pull request #1792 from pcorpet/master
  • 7f3934a Fix crash in boolean-prop-naming when encountering a required shape prop type. Fixes #1791.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.9.0 just got published.

Update to this version instead πŸš€

Release Notes v7.9.0

Added

Fixed

  • Fix static lifecycle methods validation in sort-comp (#1793 @lynxtaa)
  • Fix crash in no-typos when encountering anonymous react imports (#1796 @jsg2021)
  • Fix ESLint 3 support (#1779)

Changed

  • Documentation improvements (#1794 @lencioni)
  • Update Travis CI configuration to test on multiple ESLint verions
Commits

The new version differs by 41 commits.

  • 0d34198 Update CHANGELOG and bump version
  • ab6b41a Remove deprecated experimentalObjectRestSpread option from tests configuration
  • 9d4e27a Ignore no-typos test that only works with ESLint 5
  • f2d8729 Add SpreadElement support to sort-prop-types
  • 29c248d Add JSXText support to self-closing-comp
  • 632941c Add SpreadElement support to require-default-props
  • b3ed9d6 Add SpreadElement and RestElement support to no-unused-state
  • ce1fec7 Add JSXText support to no-unescaped-entities
  • ed3370b Add SpreadElement and JSXText support to no-danger-with-children
  • 0a028e4 Add JSXText support to jsx-one-expression-per-line
  • bd6caf0 Add JSXText support to jsx-no-literals
  • 0a6cb51 Add JSXText support to jsx-indent
  • c734901 Add JSXText support to jsx-curly-brace-presence
  • 3762258 Add JSXText support to jsx-child-element-spacing
  • e6e8955 Add SpreadElement support to default-props-match-prop-types

There are 41 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.9.1 just got published.

Update to this version instead πŸš€

Release Notes v7.9.1

Nothing was fixed; this is a republish with some updated deps. (#1804 @ljharb)

Commits

The new version differs by 3 commits.

  • ac10288 Update CHANGELOG and bump version
  • df430ee [Dev Deps] update babel-eslint, coveralls, eslint, mocha
  • 9e83b7c [Deps] update has, prop-types, doctrine

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.10.0 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 23 commits.

  • 157cc93 Update CHANGELOG and bump version
  • 7c5a16f [Deps] update has, prop-types
  • 93ce3c5 [Dev Deps] update babel-eslint
  • 5186b16 Merge pull request #1845 from alexzherdev/1844-no-set-state-unsafe-will-update
  • 8122c8b Account for UNSAFE_ method in no-will-update-set-state
  • c6cc4ab [New] Allow eslint ^5
  • 4121b59 [Tests] clean up test matrix
  • 7869530 Merge pull request #1831 from sergei-startsev/no-unsafe-rule
  • 0285eef Excluded no-unsafe from the recommended for now to avoid breaking changes
  • e41500a Added early termination for no-unsafe, adjusted tests to support ESLint3
  • 5e17159 Added missed position details for no-unsafe
  • 5b08a1e Adjusted no-unsafe rule
  • b5e86bf Added no-unsafe rule
  • 48e386d Merge pull request #1827 from alexzherdev/1677-no-typos-static-proptypes
  • d68b9e8 Remove unnecessary babel-eslint and fix typo

There are 23 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.11.0 just got published.

Update to this version instead πŸš€

Release Notes v7.11.0

Added

Fixed

Changed

Commits

The new version differs by 65 commits.

  • 599c028 Update CHANGELOG and bump version
  • 1eccf7f Merge pull request #1924 from alexzherdev/1775-one-expression-options
  • c1c3d19 Merge pull request #1911 from alexzherdev/1674-prop-types-refactoring
  • 3567c5b [New] Add allow option to jsx-one-expression-per-line
  • 9258d79 Merge pull request #1918 from BenRichter/patch-1
  • bc9a8ea Update jsx-props-no-multi-spaces.md
  • a466a77 Merge pull request #1909 from alexandernanberg/fix/class-property-destructure-assignment
  • 50cd5a6 Clean up and code review
  • 5b5ebfa Made prop-types pass
  • f2fdaa3 Extract declared propTypes detection code
  • 9dbb834 Merge pull request #1914 from alexzherdev/is-function-helper
  • 7edc982 Fix lint error
  • ef36ba9 Add a helper function for determining function-like expressions
  • 4382aa5 fix: destructuring-assignment ignore class properties
  • efe0c0c Merge pull request #1907 from alexzherdev/1637-destructuring-assignment-greedy

There are 65 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.11.1 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 11 commits.

  • fb745ab Update CHANGELOG and bump version
  • 27f9e08 Merge pull request #1932 from alexzherdev/1928-fix-assignment-handling
  • 44a3bf6 [Fix] stop crashing when assigning to propTypes
  • a33384d Merge pull request #1929 from alexzherdev/patch-1
  • d78819d Fix link in changelog
  • 8a9d938 Merge pull request #1926 from ferhatelmas/fix-changelog
  • b812416 Update changelog
  • 564107c Merge pull request #1897 from christophehurpeau/patch-1
  • 622470f Update sort-prop-types.js
  • fa90fe5 Update sort-prop-types.md
  • 6e8dadb Rule sort-prop-types add noSortAlphabetically

See the full diff