tools: update ESLint to 5.14.1

Update ESLint to 5.14.1

PR-URL: https://github.com/nodejs/node/pull/26190
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
cjihrig 2019-02-18 12:23:02 -05:00
parent cfcbfc0011
commit 14c089b50e
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
2 changed files with 5 additions and 3 deletions

View File

@ -129,8 +129,10 @@ module.exports = {
stack = stack.upper;
},
SpreadElement() {
stack.prevName = null;
SpreadElement(node) {
if (node.parent.type === "ObjectExpression") {
stack.prevName = null;
}
},
Property(node) {

View File

@ -134,5 +134,5 @@
"publish-release": "node Makefile.js publishRelease",
"test": "node Makefile.js test"
},
"version": "5.14.0"
"version": "5.14.1"
}