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

Function Attribute

src/index.ts:827–831  ·  view source on GitHub ↗
(node, _path, meta)

Source from the content-addressed store, hash-verified

825
826 visit(ast, {
827 Attribute(node, _path, meta) {
828 if (!matcher.hasStaticAttr(node.name.name)) return
829
830 meta.sortTextNodes = true
831 },
832
833 CallExpression(node, _path, meta) {
834 // Traverse property accesses and function calls to find the *trailing* ident

Callers

nothing calls this directly

Calls 1

hasStaticAttrMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…