UNPKG

@babel/eslint-parser

Version:

ESLint parser that allows for linting of experimental syntax transformed by Babel

11 lines (8 loc) 298 B
"use strict"; module.exports = function convertComments(comments) { for (const comment of comments) { comment.type = comment.type === "CommentBlock" ? "Block" : "Line"; comment.range || (comment.range = [comment.start, comment.end]); } }; //# sourceMappingURL=convertComments.cjs.map