Merge remote-tracking branch 'upstream/rc/1.20' into merge/rc/1.20

This commit is contained in:
Robert Brignull
2019-03-13 10:55:30 +00:00
68 changed files with 16345 additions and 600 deletions

View File

@@ -154,6 +154,9 @@ where
or
// exclude result from js/overwritten-property
assign2.getBase() instanceof DataFlow::ObjectLiteralNode
or
// exclude result from accessor declarations
assign1.getWriteNode() instanceof AccessorMethodDeclaration
)
select assign1.getWriteNode(),
"This write to property '" + name + "' is useless, since $@ always overrides it.",