LEDGERMACHINE

LM-SPACE-004

Audit arbitrary Tailwind spacing values

An arbitrary utility introduces spacing outside the named utility scale.

What Ledgermachine reports

A utility uses a custom spacing value

Decision, not automatic repair

Use the nearest named utility when the difference is incidental; retain exact values for real geometry constraints.

Source example

What this finding can look like

The exact candidate comes from the project’s own tokens and repeated values. This example shows the shape of the issue, not a universal replacement.

Flagged source
<div class="mt-[15px]">…</div>
One possible resolution
<div class="mt-4">…</div>

Resolution workflow

Fix the source without erasing intent

  1. Inspect

    Review every reported occurrence and the established candidates Ledgermachine found in the same project.

  2. Decide

    Use the nearest named utility when the difference is incidental; retain exact values for real geometry constraints.

  3. Verify

    Make the change in your editor or coding agent, then rescan. Ledgermachine stays read-only and records whether the finding cleared.

Run it on your source

See the evidence behind this rule.

Open a folder locally, inspect the exact occurrences, and decide whether to repair or preserve the difference.

Open Ledgermachine