Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…8281) * Fix: no-param-reassign false positive on destructuring (fixes #8279) This updates no-param-reassign to stop traversing up the AST if it encounters a Property node where the variable reference is part of the key. * Add test for object shorthand destructuring
- Loading branch information
1 parent
f8176b3
commit ddc6350
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters