Lintmend docs
1. Lint
Open Plugins > Lintmend, pick Selection, Page or Whole file, and press Lint. Whole file loads every page first, so a big file takes a moment. One run reads up to 40,000 layers; past that it stops and says how many weren't checked, so lint a page or a selection instead.
Issues are grouped by rule. Open a rule to see each layer with the page and the frames it sits in; click the layer's name to select it (Lintmend switches page if it has to), or Select all to select every layer with that issue. After a lint the file shows a Lint again button in Figma's properties panel with the last score.
Layers inside instances take their look from the main component, so only contrast and tap targets are checked inside them unless you turn on "Lint inside instances too". Layers whose names match your skip patterns (_* by default) are skipped with everything inside them. Children of hidden layers aren't checked; the hidden layer itself is.
2. The rules
| Rule | What it flags | Fix |
|---|---|---|
| Hard-coded colour | A visible solid fill or stroke with no variable bound and no colour style | Bind the nearest colour variable whose scopes allow this use (text fill, frame fill, shape fill, stroke), within your tolerance; or apply a colour style with the same colour when the layer has one fill |
| Hard-coded type | Text with no text style and no typography variables (per range) | Apply the text style with the same font, style and size; it's a safe fix when line height and letter spacing match too |
| Hard-coded effect | Shadows and blurs that aren't an effect style or bound to variables | Apply an effect style with identical effects |
| Missing style | A style id that can't be found: deleted, or from a library the file no longer uses | Pick a current style by hand |
| Off-scale spacing | Auto layout gap, row gap or padding off your scale and not bound | Snap to the nearest step, or bind the number variable holding it (GAP scope) |
| Off-scale radius | Corner radius off your radius steps and not bound; anything at least half the layer's short side counts as a pill and passes | Snap, or bind the number variable holding it (CORNER_RADIUS scope) |
| Inconsistent auto layout | Left and right (or top and bottom) padding 1 to 2 px apart; and a gap or padding that differs from at least two thirds of three or more same-named siblings | Even it out, or use the siblings' value |
| Low text contrast | Text under 4.5:1 (3:1 for large text) at AA, or 7:1 (4.5:1) at AAA | One at a time: bind the nearest text colour variable that passes |
| Text over an image | Text over a photo, video, gradient without stops or a background that changes under the text | Look at it; add a solid backing if needed |
| Small tap target | A layer with a click, press or drag interaction, or a button-like instance (button, link, checkbox, radio, toggle, tab, chip, close, menu), smaller than your minimum | Resize by hand |
| Default layer name | Frame 12, Rectangle 3, Group 5 and the other names Figma gives new layers | Rename from its text, its layout (Row, Stack, Grid) or what it draws (Photo, Icon, Circle, Divider) |
| Duplicate layer name | Siblings with the same name, except repeated instances of one component and text layers | Number the later ones |
| Hidden layer | A hidden layer that no component property or variable controls | One at a time: delete |
| Empty layer | A frame, group or section with nothing inside and nothing drawn (in auto layout it may be a spacer), or text with no characters | One at a time: delete |
| Mixed fonts | One text layer with several font families, or styled and hard-coded ranges mixed | Fix by hand |
| Detached instance | A frame Figma remembers was detached from a component | Swap it back to an instance by hand |
| Outdated instance | An instance of a library component whose library has a newer published version | One at a time: update to the latest version |
3. Contrast, worked out
For each text layer Lintmend looks down through the layers behind it: siblings below it that cover it, the frames it sits in, down to the page background. Translucent solid fills are composited over the first opaque one, and the text's own opacity (and its frames') is applied. The ratio is WCAG's relative luminance formula. Large text is 24 px and up, or 18.66 px and up at bold. On a gradient both ends are checked. Photos, video and backgrounds that change under the text can't be measured from layers, so they're listed separately instead of being passed.
4. Settings (saved in the file)
- Spacing scale: multiples of a base unit (4 px by default) or a list of allowed values.
- Radius steps: a list (0, 2, 4, 6, 8, 12, 16, 20, 24, 32 by default).
- Contrast level: AA or AAA. Minimum tap target: 24 px (WCAG 2.5.8 AA), 32, 44 (2.5.5 AAA and Apple) or 48 (Material).
- Colour tolerance: how far a colour may move when a one-click fix binds a variable, measured in OKLab (1 is about the smallest difference people notice). 0 means exact matches only.
- Rules on or off, lint inside instances, and skip names (comma-separated,
*matches anything).
5. Fixes
Fix all safe applies every fix that keeps the design as it looks within your tolerance, or that only changes structure: binding variables, applying matching styles, snapping to the scale, evening padding, renaming. Deleting layers, updating instances and contrast colour changes are offered one at a time. Every fix is checked against the layer as it is now, so a lint that's out of date never writes the wrong thing, and a whole run is one undo step (Cmd+Z or Ctrl+Z).
6. Ignoring
Click Ignore on an issue to excuse that layer from that rule. The ignore list is saved in the file with who ignored it and when, so the whole team sees the same results. Ignored issues don't count against the score and are left out of exports. Undo any of them in Ignore list.
7. The score
Each category (tokens and styles, spacing and layout, accessibility, components, layer hygiene) scores 100 minus the share of checked layers with a problem in it, weighted by severity (error 1, warning 0.6, info 0.25, worst per layer), where a quarter of the layers at full weight scores 0. The overall score weights the categories 30, 20, 25, 15 and 10. Grades: A from 90, B from 80, C from 70, D from 60.
8. Sharing and exports
- Add to canvas: the score card as an ordinary frame beside your content; running it again updates the same card.
- Download card: the same card as a 1200 x 630 SVG. Copy summary: a Markdown summary with the category table.
- CSV: one row per issue (rule, category, severity, layer, page, path, problem, fix, layer id), UTF-8 with a BOM for Excel.
- PDF report: the score, categories, settings and every issue, as real text you can search and copy.
9. Trial and license
The trial gives 20 fixes or exports over 7 days, starting with the first one; trial fixes change up to 50 layers at a time. Linting, the score and sharing the score are always free. After the trial a license is needed to see each issue, fix and export: $25 a month or $250 a year per seat, at addons.greatwork.company. Enter the key from your email in Plans and license key.
Questions: hello@greatwork.company.