LanternUI.Lint (LanternUI v0.8.2)

Copy Markdown View Source

Scan .ex / .exs / .heex for arbitrary Tailwind pixel values, hardcoded palette colors, and page-local greys. 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.