Format Brittany's source code with Brittany #238
Labels
No Label
blocked: dependency
blocked: info-needed
bug
duplicate
enhancement
fixed in HEAD
help wanted
hs:arrows
hs:brackets
hs:classes
hs:comments
hs:do-notation
hs:guards
hs:lists
hs:operators
hs:patterns
hs:records
hs:types
invalid
language extension support
layouting
needs confirmation
priority: high
priority: low
question
revisit before next release
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hexagoxel/brittany#238
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
It would be nice if Brittany could be "self hosting" in that it could format its own source. Doing so would give a lot of confidence that things aren't broken, and also stand as a good example of what Brittany's output looks like.
I'm curious if using https://restyled.io/ would be an option once the initial formatting is done. This all depends on whether "self hosting" means formatting with
HEAD
or the most recent release.That would probably be fine, especially with layout stability (#235). In fact it might be nice — we could recommend that other projects do that too, and we'd be eating our own dog food.
I'm not sure this is possible. Brittany doesn't handle CPP, and Brittany's own source code has plenty of that.