Not all drift is a bug.

Legacy code, intentional deviations, third-party wrappers — some drift is fine. Ignore rules let you tell Buoy what's intentional so your team focuses on what matters.

Get started free

The Problem with No Exceptions

A drift tool that can't be told "I know" becomes a noise machine. Teams stop trusting the output. Real issues hide behind a wall of known exceptions. Ignore rules fix that.

Without Ignore Rules

  • 47 drift signals — but 30 are in legacy code
  • CI fails on code nobody plans to change
  • Team ignores the report entirely
  • Real drift slips through the noise

With Ignore Rules

  • 17 drift signals — all actionable
  • CI passes on known exceptions
  • Team trusts the output
  • Real drift gets caught immediately

Add an Ignore Rule

One command. Targeted filters. The noise disappears.

buoy-cli
$
Adding ignore rule...
Added ignore rule: files matching "src/legacy/**"
14 drift signals will be hidden.

Four Ways to Filter

Target exactly what you want to ignore. Combine flags for precision.

📁

--file

Ignore drift in matching files or directories. Perfect for legacy code you won't be touching.

src/legacy/**
vendor/**
🏷️

--type

Ignore an entire drift type. Useful when a category doesn't apply to your project.

hardcoded-color
hardcoded-spacing
📦

--component

Ignore drift from a specific component. For intentional one-offs or third-party wrappers.

LegacyCard
OldButton
🎯

--value

Ignore a specific hardcoded value. When a particular value is intentional and shouldn't be a token.

#ff0000
16px

How It Works

1

Detect

Run buoy drift check to see all drift signals in your codebase.

2

Ignore Intentional

Add ignore rules for legacy code, known exceptions, and intentional deviations.

3

Focus on Real Drift

Future checks only surface actionable issues. CI stays green for known exceptions.

See What's Ignored

Full visibility into every rule. Nothing is hidden from you.

buoy-cli
$
Ignore Rules
────────────
1. files matching "src/legacy/**" (14 signals)
2. type: hardcoded-color (9 signals)
3. component: "LegacyCard" (3 signals)
Total: 26 signals ignored

Combine Filters for Precision

Stack flags to create targeted rules that match exactly what you need.

<div class=""># Ignore hardcoded colors in legacy files</div><div class="">buoy drift ignore add --file "src/legacy/**" --type hardcoded-color</div><div class=""></div><div class=""># Ignore a specific value in a specific component</div><div class="">buoy drift ignore add --component "OldButton" --value "#333"</div><div class=""></div><div class=""># Ignore all drift in vendor code</div><div class="">buoy drift ignore add --file "vendor/**"</div><div class=""></div><div class=""># View your rules anytime</div><div class="">buoy drift ignore show</div>

Ready to catch design drift?

Free. Open source. No signup required.

Related Features

Drift Detection

Find every inconsistency across your codebase

CI Integration

Add drift checks to your CI pipeline

GitHub App

Catch drift in every PR automatically