first
This commit is contained in:
14
node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
generated
vendored
Normal file
14
node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
module.exports = function convertComments(comments) {
|
||||
for (const comment of comments) {
|
||||
if (comment.type === "CommentBlock") {
|
||||
comment.type = "Block";
|
||||
} else if (comment.type === "CommentLine") {
|
||||
comment.type = "Line";
|
||||
}
|
||||
if (!comment.range) {
|
||||
comment.range = [comment.start, comment.end];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
//# sourceMappingURL=convertComments.cjs.map
|
Reference in New Issue
Block a user