Skip to content

bug: rtk lint duplicates ESLint diagnostics and misreports summary counts #186

@pavelbe

Description

@pavelbe

Summary

rtk lint appears to duplicate ESLint diagnostics and produce incorrect summary counts in output header.

Environment

  • rtk: 0.20.0
  • bun: 1.3.9
  • project: ~/Projects/pricedrop/apps/pricedrop
  • checked on: 18 February 2026

Reproduction

cd ~/Projects/pricedrop/apps/pricedrop
npx eslint entrypoints/background.ts --max-warnings=0 > /tmp/raw-eslint.log 2>&1
rtk lint npx eslint entrypoints/background.ts --max-warnings=0 > /tmp/rtk-eslint.log 2>&1

Raw tail:

✖ 3 problems (0 errors, 3 warnings)
ESLint found too many warnings (maximum: 0).

RTK lint tail (same command):

Lint: 3 errors, 5 warnings
...
  42:3  warning ...
  42:3  warning ...
  46:3  warning ...
  46:3  warning ...
  53:3  warning ...
  53:3  warning ...
✖ 3 problems (0 errors, 3 warnings)
ESLint found too many warnings (maximum: 0).

Expected

  • No duplicated diagnostics.
  • Header counts should match actual ESLint result.

Actual

  • Warning lines are duplicated.
  • Header reports incorrect counts (3 errors, 5 warnings) while ESLint reports 0 errors, 3 warnings.

Impact

  • Misleading lint summary for users/agents.
  • Harder triage and trust in compressed output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-importantDevrait être fixé bientôtbugSomething isn't workingeffort-smallQuelques heures, 1 fichierhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions