Skip to content

Linter prevents formatting #12496

@gretzke

Description

@gretzke

Component

Forge

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

  • Foundry
  • Foundryup

What version of Foundry are you on?

1.4.4

What version of Foundryup are you on?

1.3.0

What command(s) is the bug in?

forge fmt

Operating System

macOS (Apple Silicon)

Describe the bug

Running the formatter fails due to a solar error

Error: solar run failed:

error: invalid natspec tag '@deprecated', custom tags must use format '@custom:name'
  --> src/briefcase/protocols/swap-router-contracts/interfaces/IMixedRouteQuoterV1.sol:66:5
   |
66 |     /// @deprecated quoteExactOutputSingle and exactOutput. Use QuoterV2 instead.
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bugType: bugT-needs-triageType: this issue needs to be labelled

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions