Skip to content

Commit

Permalink
Add taplo configuration to format TOML files
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 3, 2024
1 parent 9e97227 commit 6f0a5c8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[formatting]
align_comments = false
allowed_blank_lines = 1
array_auto_collapse = false
array_auto_expand = false
indent_string = " "

# TODO: consider sorting arrays of team members if we can agree on how the sort
# order should be case sensitive.
#
# [[rule]]
# include = ["teams/**/*.toml"]
# keys = ["people"]
# [rule.formatting]
# reorder_arrays = true

0 comments on commit 6f0a5c8

Please sign in to comment.