tools: update ESLint to 7.1.0

Update ESLint to 7.1.0

PR-URL: https://github.com/nodejs/node/pull/33526
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
cjihrig authored and Shelley Vohr committed 2020-07-08 13:02:22 -07:00
1 parent 0941635bb5
commit ff4f9a9247
49 files changed
+839 -272

No files matched your search

+1
View File
@@ -305,6 +305,7 @@ class SourceCode extends TokenStore {
* @returns {Object} An object containing a leading and trailing array
* of comments indexed by their position.
* @public
* @deprecated replaced by getCommentsBefore(), getCommentsAfter(), and getCommentsInside().
*/
getComments(node) {
if (this._commentCache.has(node)) {