CI Perf Lint

prefer-nextjs-12-minor-performance-milestone

What it flags

Flags workflows that visibly run next build when the repository depends on Next.js 12.0, 12.1, or 12.2.

The rule recommends 12.3.x as the first target because some teams cannot jump major versions immediately, while 12.3 is a meaningful 12.x build-performance and stability milestone.

Why it matters

Next.js 12.x had several CI-relevant minor releases.

For repositories still pinned to early 12.x, moving to 12.3.x can be a smaller compatibility step than a major-version migration while still targeting build-time wins.

Current heuristic

The rule requires both:

It does not flag Next.js 12.3 or newer.

When to ignore it

Ignore this finding when:

Suggested verification

Sources