eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
14 lines • 979 B
JavaScript
import { description, literal, optional, pipe, strictObject, string } from "valibot";
import { MatcherType } from "../../types/rule.js";
export const STRING_MATCHER_SCHEMA = strictObject({
match: pipe(literal(MatcherType.String), description("Matcher type that will be applied."))
});
export const OBJECT_KEY_MATCHER_SCHEMA = strictObject({
match: pipe(literal(MatcherType.ObjectKey), description("Matcher type that will be applied.")),
pathPattern: optional(pipe(string(), description("Regular expression that filters the object key and matches the content for further processing in a group.")))
});
export const OBJECT_VALUE_MATCHER_SCHEMA = strictObject({
match: pipe(literal(MatcherType.ObjectValue), description("Matcher type that will be applied.")),
pathPattern: optional(pipe(string(), description("Regular expression that filters the object value and matches the content for further processing in a group.")))
});
//# sourceMappingURL=matchers.js.map