Skip to content

sprintf linter #544

Description

@renkun-ken

I'm thinking of a sprintf linter that extracts all sprintf(...) calls and checks if the number of supplied arguments is consistent with the number of format placeholders in the format string when the format string is a string literal (rather than a symbol or call).

If the supplied argument is an atomic value, it could also check if its type is consistent with the format at the corresponding position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions