-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TOML formatting with Taplo (#784)
Add Taplo config. Format TOM config files. Add Taplo step to CI.
- Loading branch information
1 parent
806946b
commit fb27ac7
Showing
5 changed files
with
168 additions
and
157 deletions.
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 @@ | ||
# See https://taplo.tamasfe.dev/configuration/file.html | ||
# and https://taplo.tamasfe.dev/configuration/formatter-options.html | ||
|
||
[formatting] | ||
# Aligning comments with the largest line creates | ||
# diff noise when neighboring lines are changed. | ||
align_comments = false | ||
|
||
# Matches how rustfmt formats Rust code | ||
column_width = 100 | ||
indent_string = " " |
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
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