chore(deps): update dependency eslint-plugin-react to v7.7.0 - autoclosed #45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency eslint-plugin-react from
v7.5.1
tov7.7.0
Release Notes
v7.6.0
Added
forbid-dom-props
][] rule (#1562 @davazp)jsx-child-element-spacing
][] rule (#1515 @pfhayes)no-this-in-sfc
][] rule (#1435 @jomasti)jsx-sort-default-props
][] rule (#281 @b0gok)message
option to [boolean-prop-naming
][] (#1588 @louisscruz)beforeClosing
option to [jsx-tag-spacing
][] (#1396 @cjskillingstad)instance-methods
andinstance-variables
to [sort-comp
][] (#599 @RDGthree)propWrapperFunctions
support for [boolean-prop-naming
][] (#1478 @jomasti)React.addons.TestUtils
in [no-deprecated
][] (#1644 @nirnaor)Fixed
no-access-state-in-setstate
][] (#1559 @jomasti, #1611 @pfhayes)require-optimization
][] when encountering arrays with empty items as values in object (#1621 @kamataryo)no-unused-prop-types
][] when passing an empty function as a PropType (#1542 #1581 @kevinzwhuang)no-typos
][] when usingPropType.shape
without arguments (#1471 @mrichmond)jsx-tag-spacing
][] (#1650 @flyerhzm)no-unused-state
][] to detect usage ofthis.state
as an object (#1572)no-access-state-in-setstate
][] to detect when thestate
variable is destructured fromthis.state
(#1597 @jaaberg)jsx-no-literals
][] to correctly find string literals part of BinaryExpressions (#1511 @jaaberg)no-typos
][] false positive on custom propTypes with isRequired (#1607 @lfades)prop-types
][] to check fornextProps
incomponentWillReceiveProps
(#1636 @xjmdoo)no-unknown-property
][] to not pascal-casingcrossorigin
attribute and only allow it on script/img/video (#1642 @ljharb)Changed
jsx-wrap-multilines
][] auto fix (#1576 @sharmilajesupaul)defaultConfig
from [sort-comp
][] rule for programmatic use (#1578 @Andarist)v7.6.1
Fixed
prop-types
][] with recursive type annotations (#1653 @jetpacmonkey)no-unknown-property
][] to properly recognizecrossOrigin
instead ofcrossorigin
, and allow it onlink
tags. (#1659 @jzDev)no-access-state-in-setstate
][] to handle object spread (#1657 @ljharb)v7.7.0
Added
forbid-foreign-prop-types
][]: addallowInPropTypes
option (#1655 @iansu)jsx-max-depth
][] rule (#1260 @chriswong)Fixed
no-access-state-in-setstate
][]: Exclude references to this.state in setState callback (#1610 @pfhayes)no-danger-with-children
][]: prevent infinite loop (#1571 @ljharb)sort-prop-types
][]: Fix sortShapeProp when shape is not an object literal (#1669 @justinanastos)jsx-child-element-spacing
][]: fix error location (#1666 @pfhayes)no-unused-prop-types
][]: fix for createClass (#1675 @yuri-sakharov)prop-types
][]: include nextProps checking in shouldComponentUpdate (#1690 @amerryma)jsx-curly-spacing
][]: refactor to fix start and end-braces in a single pass (#1414 @s-h-a-d-o-w)Changed
jsx-child-element-spacing
][]: add missing docs ([#1665][] @pfhayes); fix docs (#1670 @SammyM)Commits
v7.6.0
58159c0
[Deps] updatejsx-ast-utils
,doctrine
f6e4c89
Merge pull request #1478 from jomasti/issue-14529a7423e
Add custom message73f135a
Add more test cases for no-access-state-in-setstate4950623
Make no-access-state-in-setstate find cases where state is destructured from this37902d4
Use ESLint string templatingd331af6
Add empty params check for unused prop types rule to fix empty proptype functions from causing crashes292ebed
Merge pull request #1588 from louisscruz/bool-props-messagea908eb3
Merge pull request #1598 from jaaberg/master6015af2
Add test cases for other forms of empty functions in no-unused-prop-types and remove parser option3194de2
Exclude references to this.state in setState callbackaf6cb31
Fix typo in commenteb7e152
Handle nodes without init4cf6752
Add failing tests for jsx-no-literals with literal as BinaryExpression2ae8d5e
Find usages of literals as a part of BinaryExpressions in jsx-no-literalsf27ebc2
jsx-no-literals Add tests combining literals and strings28581df
jsx-no-literals Find all usages of literals combined with strings9b8ea5e
Merge pull request #1600 from kevinzwhuang/fix-unused-prop-typesbb34372
Add testf40b7b8
Merge pull request #1611 from pfhayes/node.init22c9237
Add null avoidance5f1ec80
Merge pull request #1621 from kamataryo/master686fa76
Docs: Documentforbid
forno-unescaped-entities
rule (#1263)a7bc91b
Merge pull request #1624 from alexilyaev/patch-2d9c36bf
[Tests]no-typos
: add regression testc23d395
Merge pull request #1504 from mrichmond/bugfix/no-typos-TypeErrorbf544dc
Add URL to rule documentation to the metadata07345b4
Merge pull request #1635 from Arcanemagus/rules-docs-url73c86c9
Add beforeClosing option to jsx-tag-spacing9cc118c
Add unit tests6fdefcf
Add jsx-sort-default-props rule5770c72
Surround sort-default-props keywords with backticks and fix typo4f00455
Add SFC examples in the documentation and testsba394d2
Fix wording in docsf5cff2a
Fix typof103712
Make default value allow2043520
Add multiline test cases0e983de
Merge pull request #1641 from cjskillingstad/feat/jsx-tag-spacing_before_closing2e3a6a4
[Fix] crossOrigin is wrong; and crossorigin is only valid on script/img/video92add21
Adding a warning for React.addons.TestUtils.8237551
Merge pull request #1645 from nirnaor/master558576c
Add more tests with spread, add examplese24b53f
Add tests and examples with multiple spreadsc2c7a2a
Merge pull request #1616 from jaaberg/jsx-no-literals-binary36beb6d
Merge pull request #1483 from b0gok/jsx-sort-default-propsd3840a5
add missing meta to jsx-tag-spacingf9cc10d
prop-types doesn't check nextProps of componentWillReceiveProps8360ffa
support isRequired for custom props and call expressions1d12044
Merge pull request #1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing942a92c
merged one of the previous tests and added 2 new tests for the default parser20dff22
Adds more checks to MethodDefinition case and adds new test case for default parserf4cab9a
Merge pull request #1652 from lfades/fix/no-typosc558451
Merge pull request #1651 from xjmdoo/master692cdc8
Merge pull request #1643 from ljharb/fix_crossorigin614d3bd
Support recursive type annotations, fixes #913e4f7e30
Mark all recursive proptypes as acceptable with {}, not true7b742d0
Update CHANGELOG and bump version7443a37
[New]forbid-foreign-prop-types
: AddallowInPropTypes
optiona2764d9
[Tests] number comments to more easily locate failuresv7.6.1
509f2cb
Use typeof === 'undefined' instead of void 0f947536
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/master1d13218
Restore tests and crossorigin attribute mapd060041
Merge pull request #1659 from jzDev/jzDev/flip-crossorigin-rulee56376e
[Fix]no-access-state-in-setstate
: handle object spreadf7441bb
Update CHANGELOG and bump versionv7.7.0
cfd3959
[Docs] addjsx-child-element-spacing
70e8a02
Merge pull request #1610 from pfhayes/setstate5e1a64c
[Fix]no-danger-with-children
: prevent infinite loopd8dff26
test(sort-prop-types) Add failing test for whensortShapeProp
is true and shape not object literal17ac433
fix(sort-prop-types): Fix sortShapeProp when shape is not an object literald818f2b
Merge pull request #1669 from justinanastos/fix/sort-prop-types-shape-no-properties-166805c49d4
[Fix]jsx-child-element-spacing
: fix error location2839b5d
Fix an issue with the documentation for 'jsx-child-element-spacing'dda03e9
Created test78e2951
Fixed bugb1444be
Added more tests24658b5
Added more valid tests3d83d13
Added more testsfb2fefd
Merge pull request #1675 from yuri-sakharov/fix/react-no-unused-prop-typese77c97f
Test0fa0761
Added test & working3ac7943
[docs] add missing rule to readme8ca344a
Rearranged tests to be at the bottom of componentWillReceiveProps tests. Added a default parser test.e26b7e2
[Tests] clean up some formattingc996740
Merge pull request #1690 from mindspacepdx/am-should-component-updatee4de360
[Fix] jsx-curly-spacing problem in new tests, fixes #14140e2e046
[Dev Deps] updatebabel-eslint
,eslint
,istanbul
,mocha
abe8381
Update CHANGELOG and bump versionThis PR has been generated by Renovate Bot.