-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add beancount formatter (#212)
* feat: add beancount formatter * lint: remove unused require --------- Co-authored-by: Steven Arcangeli <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
---@type conform.FileFormatterConfig | ||
return { | ||
meta = { | ||
url = "https://beancount.github.io/docs/running_beancount_and_generating_reports.html#bean-format", | ||
description = "Reformat Beancount files to right-align all the numbers at the same, minimal column.", | ||
}, | ||
command = "bean-format", | ||
args = { | ||
"-", | ||
}, | ||
} |