Skip to content

bug(forge-lint): improper --only-lint filtering #11080

@0xClandestine

Description

@0xClandestine

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge Version: 1.3.0-dev Commit SHA: 6d34b33 Build Timestamp: 2025-07-17T05:19:56.314957000Z (1752729596) Build Profile: release

What version of Foundryup are you on?

foundryup: 1.3.0

What command(s) is the bug in?

forge lint

Operating System

macOS (Apple Silicon)

Describe the bug

When running the following command forge lint --only-lint unused-import it returns lints for both unused-import and unaliased-plain-import.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions