Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments not attached to following line #385

Closed
jtojnar opened this issue Mar 24, 2023 · 1 comment
Closed

Comments not attached to following line #385

jtojnar opened this issue Mar 24, 2023 · 1 comment
Labels
component | style Modifications to the formatting rules good first issue Good for newcomers status | it is a good thing We agree it is good to implement this type | bug Something isn't working

Comments

@jtojnar
Copy link

jtojnar commented Mar 24, 2023

{
  outputs =
    { utils }:
    # For each supported platform,
    utils.lib.eachDefaultSystem (system: {});
}

gets turned into the following, with comment not aligned with what it is commenting:

{
  outputs = {utils}:
  # For each supported platform,
    utils.lib.eachDefaultSystem (system: {});
}

https://kamadorueda.com/alejandra/?before=%7B%0A++outputs+%3D%0A++++%7B+utils+%7D%3A%0A++++%23+For+each+supported+platform%2C%0A++++utils.lib.eachDefaultSystem+%28system%3A+%7B%7D%29%3B%0A%7D%0A

Noticed in https://github.com/fossar/nix-phps/pull/190/files#r1070276168

Originally posted by @jtojnar in #372 (comment)

@kamadorueda kamadorueda added type | bug Something isn't working good first issue Good for newcomers component | style Modifications to the formatting rules status | it is a good thing We agree it is good to implement this labels Nov 5, 2024
@kamadorueda
Copy link
Owner

Closing in favor of #383 which was posted a day earlier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component | style Modifications to the formatting rules good first issue Good for newcomers status | it is a good thing We agree it is good to implement this type | bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants