'use strict'; exports.type = 'perItem'; exports.active = true; exports.description = 'removes comments'; /** * Remove comments. * * @example * * * @param {Object} item current iteration item * @return {Boolean} if false, item will be filtered out * * @author Kir Belevich */ exports.fn = function (item) { if (item.type === 'comment' && item.value.charAt(0) !== '!') { return false; } };