UNPKG

eslint-plugin-better-tailwindcss

Version:

auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.

9 lines 570 B
import { runAsWorker } from "synckit"; import { getAsyncContext } from "../async-utils/context.js"; runAsWorker(async ({ configPath, cwd, tsconfigPath }) => { const { ctx, warnings } = await getAsyncContext({ configPath, cwd, tsconfigPath }); const { getCustomComponentClasses } = await import(`./custom-component-classes.async.v${ctx.version.major}.js`); const customComponentClasses = await getCustomComponentClasses(ctx); return { customComponentClasses, warnings: [...warnings] }; }); //# sourceMappingURL=custom-component-classes.async.worker.js.map