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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency eslint-plugin-react to v7.6.1 #197

Merged
merged 1 commit into from Feb 2, 2018

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 2, 2018

This Pull Request updates dependency eslint-plugin-react from v7.4.0 to v7.6.1

Release Notes

v7.5.0

Added
  • Add jsx-one-expression-per-line rule ([#​1497][] @​TSMMark)
  • Add destructuring-assignment rule (#1462 @​DianaSuvorova)
  • Add no-access-state-in-setstate rule (#1374 @​jaaberg)
  • Add button-has-type rule (#1525 @​Hypnosphi)
  • Add warnings for React.DOM factories in no-deprecated (#1530 @​backjo)
  • Add sortShapeProp option to sort-prop-types (#1476 @​jomasti)
  • Add parens-new-line option to jsx-wrap-multilines (#1475 @​jomasti)
  • Add checkContextTypes and checkChildContextTypes options to forbid-prop-types (#1533 @​jomasti)
  • Add forbidDefaultForRequired option to require-default-props (#1524 @​jomasti)
  • Add new nodes support to jsx-wrap-multilines (#1384 @​evgeny-petukhov)
Fixed
  • Fix jsx-curly-brace-presence auto fix by bailing out when some chars exist (#1479 #1449 @​jackyho112)
  • Fix boolean-prop-naming crash with Object spread (#1485 @​track0x1)
  • Fix no-unused-state to correctly handle arrow function class method (#1363 @​jackyho112)
  • Fix incompatibility with typescript-eslint-parser (#1496 @​timothykang)
  • Fix jsx-no-bind to only warn for props and account for variable declaration (#1444 #1395 #1417 @​jackyho112)
  • Fix no-props-unused-props to handle props usage in custom prop validators (#1518 @​petersendidit)
  • Fix prefer-stateless-function to account for contextTypes and defaultProps (#1521 @​jomasti)
  • Fix jsx-no-comment-textnodes to not warn when using two slashes via html entities at the beginning of a literal (#1517 @​jomasti)
  • Fix default-props-match-prop-types crash (#1499 @​jomasti)
  • Fix no-unused-prop-types to handle props used in the setState update callback (#1507 @​petersendidit)
  • Fix alignment bug in jsx-indent (#1246 @​jseminck)
Changed

v7.5.1

Fixed
  • Fix jsx-no-bind crash (#1543 @​jomasti)
  • Fix no-unused-prop-types crash (#1542 @​jomasti)
Changed
  • Documentation improvements (#1546 @​jseminck)

v7.6.0

Added
  • Add forbid-dom-props rule (#1562 @​davazp)
  • Add jsx-child-element-spacing rule (#1515 @​pfhayes)
  • Add no-this-in-sfc rule (#1435 @​jomasti)
  • Add jsx-sort-default-props rule (Include the crash rate from mission control #281 @​b0gok)
  • Add message option to boolean-prop-naming (#1588 @​louisscruz)
  • Add beforeClosing option to jsx-tag-spacing (#1396 @​cjskillingstad)
  • Add instance-methods and instance-variables to sort-comp (#599 @​RDGthree)
  • Add propWrapperFunctions support for boolean-prop-naming (#1478 @​jomasti)
  • Add warning for React.addons.TestUtils in no-deprecated (#1644 @​nirnaor)
  • Add URL to rule documentation to the rules metadata (#1635 @​Arcanemagus)
Fixed
  • Fix crashes in no-access-state-in-setstate (#1559 @​jomasti, #1611 @​pfhayes)
  • Fix crash in require-optimization when encountering arrays with empty items as values in object (#1621 @​kamataryo)
  • Fix crash in no-unused-prop-types when passing an empty function as a PropType (#1542 #1581 @​kevinzwhuang)
  • Fix crash in no-typos when using PropType.shape without arguments (#1471 @​mrichmond)
  • Fix crash when using Unions in flow propTypes (#1468 @​justinanastos)
  • Fix missing meta in jsx-tag-spacing (#1650 @​flyerhzm)
  • Fix no-unused-state to detect usage of this.state as an object (#1572)
  • Fix no-access-state-in-setstate to detect when the state variable is destructured from this.state (#1597 @​jaaberg)
  • Fix jsx-no-literals to correctly find string literals part of BinaryExpressions (#1511 @​jaaberg)
  • Fix no-typos false positive on custom propTypes with isRequired (#1607 @​lfades)
  • Fix prop-types to check for nextProps in componentWillReceiveProps (#1636 @​xjmdoo)
  • Fix no-unknown-property to not pascal-casing crossorigin attribute and only allow it on script/img/video (#1642 @​ljharb)
Changed
  • Improve jsx-wrap-multilines auto fix (#1576 @​sharmilajesupaul)
  • Export defaultConfig from sort-comp rule for programmatic use (#1578 @​Andarist)
  • Documentation improvements (#1552 @​TSMMark, #1566 @​lukeapage, #1624 @​alexilyaev, @​ljharb)
  • Update dependencies (@​ljharb)

v7.6.1

Fixed

Commits

yannickcr/eslint-plugin-react

v7.6.0

  • 16e57ff Fix crash in prop-types test with UnionTypeAnnotation
  • 077e017 Create failing no-unused-prop-types test with union flowtypes
  • dd10851 Fix crash in no-unused-prop-types test with UnionTypeAnnotation
  • df17cd4 Merge pull request #​1563 from justinanastos/fix/prop-types-union-flowtype-1468
  • 2c2d831 Add related rules link to both forbid-dom-props and forbid-component-props
  • 28654e2 Add more invalid tests cases for forbid-dom-props
  • ae55fdf Fix typo in changelog
  • 7aaec03 Merge pull request #​1566 from lukeapage/patch-1
  • adf5d81 [Fix] jsx-curly-spacing:
  • 115e4b9 [Refactor] Move findVariableByName to variable util
  • 78ec577 test(no-unused-prop-types): Add import test with Union
  • 6323015 test(prop-types): Add import test with Union
  • e5e4536 Merge pull request #​1570 from justinanastos/fix/prop-types-union-flowtype-1468
  • e632628 [Docs] improve readme
  • 268a704 Refine schema for forbid-dom-props options
  • c7dd755 Merge pull request #​1470 from RDGthree/master
  • af6ccb0 Fix no-unused-state to detect usage of this.state as an object (fixes #​1572)
  • c072c89 Merge pull request #​1562 from davazp/add-forbid-dom-props-rule
  • 6a41c60 Potential autofix improvement for jsx-wrap-mulitlines
  • b801624 Merge pull request #​1576 from sharmilajesupaul/shar--remove-newline-before-paren
  • 06e1667 Merge pull request #​1519 from pfhayes/spaces
  • cfd1c34 Merge pull request #​1509 from jomasti/issue-1435
  • f044bc2 Export defaultConfig from sort-comp rule for programmatic use
  • 6f444a7 Merge pull request #​1578 from Andarist/sort-comp/export-default-config
  • eefce85 [Dev Deps] update babel-eslint, eslint
  • 58159c0 [Deps] update jsx-ast-utils, doctrine
  • f6e4c89 Merge pull request #​1478 from jomasti/issue-1452
  • 9a7423e Add custom message
  • 73f135a Add more test cases for no-access-state-in-setstate
  • 4950623 Make no-access-state-in-setstate find cases where state is destructured from this
  • 37902d4 Use ESLint string templating
  • d331af6 Add empty params check for unused prop types rule to fix empty proptype functions from causing crashes
  • 292ebed Merge pull request #​1588 from louisscruz/bool-props-message
  • a908eb3 Merge pull request #​1598 from jaaberg/master
  • 6015af2 Add test cases for other forms of empty functions in no-unused-prop-types and remove parser option
  • 3194de2 Exclude references to this.state in setState callback
  • af6cb31 Fix typo in comment
  • eb7e152 Handle nodes without init
  • 4cf6752 Add failing tests for jsx-no-literals with literal as BinaryExpression
  • 2ae8d5e Find usages of literals as a part of BinaryExpressions in jsx-no-literals
  • f27ebc2 jsx-no-literals Add tests combining literals and strings
  • 28581df jsx-no-literals Find all usages of literals combined with strings
  • 9b8ea5e Merge pull request #​1600 from kevinzwhuang/fix-unused-prop-types
  • bb34372 Add test
  • f40b7b8 Merge pull request #​1611 from pfhayes/node.init
  • 22c9237 Add null avoidance
  • 5f1ec80 Merge pull request #​1621 from kamataryo/master
  • 686fa76 Docs: Document forbid for no-unescaped-entities rule (#​1263)
  • a7bc91b Merge pull request #​1624 from alexilyaev/patch-2
  • d9c36bf [Tests] no-typos: add regression test
  • c23d395 Merge pull request #​1504 from mrichmond/bugfix/no-typos-TypeError
  • bf544dc Add URL to rule documentation to the metadata
  • 07345b4 Merge pull request #​1635 from Arcanemagus/rules-docs-url
  • 73c86c9 Add beforeClosing option to jsx-tag-spacing
  • 9cc118c Add unit tests
  • 6fdefcf Add jsx-sort-default-props rule
  • 5770c72 Surround sort-default-props keywords with backticks and fix typo
  • 4f00455 Add SFC examples in the documentation and tests
  • ba394d2 Fix wording in docs
  • f5cff2a Fix typo
  • f103712 Make default value allow
  • 2043520 Add multiline test cases
  • 0e983de Merge pull request #​1641 from cjskillingstad/feat/jsx-tag-spacing_before_closing
  • 2e3a6a4 [Fix] crossOrigin is wrong; and crossorigin is only valid on script/img/video
  • 92add21 Adding a warning for React.addons.TestUtils.
  • 8237551 Merge pull request #​1645 from nirnaor/master
  • 558576c Add more tests with spread, add examples
  • e24b53f Add tests and examples with multiple spreads
  • c2c7a2a Merge pull request #​1616 from jaaberg/jsx-no-literals-binary
  • 36beb6d Merge pull request #​1483 from b0gok/jsx-sort-default-props
  • d3840a5 add missing meta to jsx-tag-spacing
  • f9cc10d prop-types doesn't check nextProps of componentWillReceiveProps
  • 8360ffa support isRequired for custom props and call expressions
  • 1d12044 Merge pull request #​1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing
  • 942a92c merged one of the previous tests and added 2 new tests for the default parser
  • 20dff22 Adds more checks to MethodDefinition case and adds new test case for default parser
  • f4cab9a Merge pull request #​1652 from lfades/fix/no-typos
  • c558451 Merge pull request #​1651 from xjmdoo/master
  • 692cdc8 Merge pull request #​1643 from ljharb/fix_crossorigin
  • 614d3bd Support recursive type annotations, fixes #​913
  • e4f7e30 Mark all recursive proptypes as acceptable with {}, not true
  • 7b742d0 Update CHANGELOG and bump version
  • 7443a37 [New] forbid-foreign-prop-types: Add allowInPropTypes option

v7.6.1

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

This PR has been generated by Renovate Bot.

@magopian magopian merged commit d2e8a47 into master Feb 2, 2018
@renovate renovate bot deleted the renovate/eslint-plugin-react-7.x branch February 2, 2018 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants