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

Proposal: Formatting options for PureScript code. #14

Open
jhodgdev opened this issue May 18, 2022 · 2 comments
Open

Proposal: Formatting options for PureScript code. #14

jhodgdev opened this issue May 18, 2022 · 2 comments

Comments

@jhodgdev
Copy link

We need a formatting solution for PureScript code.

May I suggest purs-tidy with this config:

{
  "importSort": "ide",
  "importWrap": "auto",
  "indent": 2,
  "operatorsFile": null,
  "ribbon": 1,
  "typeArrowPlacement": "last",
  "unicode": "source",
  "width": 80
}
@kozross
Copy link
Member

kozross commented May 18, 2022

@jhodgdev I actually feel a whole separate Purescript document may be in order. Purescript, despite similarities, is not Haskell, and clarity would be nice.

@jhodgdev
Copy link
Author

Yeah, that sounds like it'd be prudent. If you want any input, I'd be happy to help you on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants