Skip to content

Restricting call_parentheses = "NoSingleString" to require statements #1009

@r3ps4J

Description

@r3ps4J

Hey there! I've set up my .stylua.toml file with call_parentheses = "NoSingleString" as I like to have my require statements not being wrapped in parenthesis. However I do also have some methods that just accept a single string, for which the parentheses also get removed now. Is there a way to restrict this to just require statements? If not, I want to suggest adding this if that's possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions