mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
0941635bb5
commit
ff4f9a9247
49 files changed
+839
-272
No files matched your search
+1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user