MCPcopy
hub / github.com/tailwindlabs/prettier-plugin-tailwindcss / sortClassAttributes

Method sortClassAttributes

src/sorter.ts:75–75  ·  view source on GitHub ↗

* Sort one or more class attributes. * * Each element is the value of an HTML `class` attribute (or similar). i.e. a * space separated list of class names as a string.

(classes: string[])

Source from the content-addressed store, hash-verified

73 * space separated list of class names as a string.
74 */
75 sortClassAttributes(classes: string[]): string[]
76
77 /**
78 * Sort one or more class lists.

Callers 1

sorter.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected