Sha256: 3eaed56238293dc0ce123ee0ba407433e2488a0bbf8150ff89f00b71b4792c9b

Contents?: true

Size: 298 Bytes

Versions: 7

Compression:

Stored size: 298 Bytes

Contents

"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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
immosquare-cleaner-0.1.50 node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
immosquare-cleaner-0.1.49 node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
immosquare-cleaner-0.1.48 node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
immosquare-cleaner-0.1.47 node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
immosquare-cleaner-0.1.46 node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
immosquare-cleaner-0.1.45 node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs