Skip to content

Allow wrapped post parameter clause function signature elements to not be indented #2649

Description

@rgoldberg

I haven't found a way to allow wrapped post parameter clause function signature elements to not be indented:

e.g., // swiftformat:disable:this indent is required for:

	static func main<Command: AsyncParsableCommand>(_ command: Command, _ body: (Command) async throws -> Void)
	async throws { // swiftformat:disable:this indent
		
	}

Is there any option setting that reports a violation if the continuation of that function signature isn't unindented?

If not, could such an option be added?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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