eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
10 lines • 358 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.replacePlaceholders = replacePlaceholders;
function replacePlaceholders(template, match) {
return template.replace(/\$(\d+)/g, (_, groupIndex) => {
const index = Number(groupIndex);
return match[index] ?? "";
});
}
//# sourceMappingURL=string.js.map