@serverless-guru/prettier-plugin-import-order
Version:
A prettier plugin to sort TS/JS import declarations by provided Regular Expression order
8 lines (7 loc) • 360 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasIgnoreNextNode = void 0;
var hasIgnoreNextNode = function (comments) {
return (comments !== null && comments !== void 0 ? comments : []).some(function (comment) { return comment.value.trim() === 'prettier-ignore'; });
};
exports.hasIgnoreNextNode = hasIgnoreNextNode;