8000 Long List Concatenation And Function Invocations Not Formatted · Issue #462 · kamadorueda/alejandra · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Long List Concatenation And Function Invocations Not Formatted #462
Open
@Aleksbgbg

Description

@Aleksbgbg

The following use case doesn't get formatted:

            serviceConfig = {
              ExecStart = utils.escapeSystemdExecArgs ([
                  "${self.packages.${pkgs.system}.default}/bin/backend"
                  "--public-ip"
                  cfg.publicIp
                  "--port-min"
                  cfg.portMin
                  "--port-max"
                  cfg.portMax
                ]
                ++ lists.flatten (lists.optional (cfg.debug.webRtcLogLevel != null) ["--webrtc-log-level" cfg.debug.webRtcLogLevel]));
              Restart = "always";
              Type = "exec";
            };

Alejandra leaves this as-is. Would be good to format the concatenation and invocation over multiple lines.

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

      0