LanternUI.Lint (LanternUI v0.9.0)

Copy Markdown View Source

Scan .ex / .exs / .heex for arbitrary Tailwind pixel values, hardcoded palette colors, page-local greys, banned grouped-list markup, hand-rolled tables/buttons, deprecated components, and unknown component/attr names with "did you mean" hints. Used by mix lantern.lint.

Summary

Functions

Walk root and return a list of finding maps.

Functions

scan(root, opts \\ [])

Walk root and return a list of finding maps.

Options:

  • :config — path to a JSON allowlist file. Defaults to root/.lantern-lint.json when that file exists.