-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
Recommendation from Yang of Litentry:
Besides, I have one small point that I would like to recommend to your team:
We just introduced a tool: taplo into our parachain repo. It works quite well to format all TOML files inside the project. 2 minutes can get the formatting done. Maybe another 10 minutes for CI/pre-commit/etc. configuration if needed.
If INTEGRITEE also introduce this tool to worker, then it would be easier for us to sync with upstream update in the future.
We are using such configs for .taplo.toml config file (just for reference):
include = ["**/Cargo.toml"]
[formatting]
align_entries = false
align_comments = false
array_trailing_comma = true
array_auto_expand = false
array_auto_collapse = false
compact_arrays = true
compact_inline_tables = false
compact_entries = false
column_width = 80
indent_tables = false
indent_entries = false
indent_string = " "
trailing_newline = true
reorder_keys = true
allowed_blank_lines = 2
crlf = false
Reactions are currently unavailable