mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-06-27 16:35:59 +00:00
style: format all toml with taplo
This commit is contained in:
parent
08485ea5e4
commit
e2d91e26d6
9 changed files with 158 additions and 76 deletions
24
taplo.toml
Normal file
24
taplo.toml
Normal file
|
@ -0,0 +1,24 @@
|
|||
exclude = [".**/*.toml"]
|
||||
include = ["**/*.toml"]
|
||||
[formatting]
|
||||
reorder_arrays = true
|
||||
reorder_keys = true
|
||||
|
||||
# Prevent breaking command and argument order
|
||||
[[rule]]
|
||||
include = ["engage.toml"]
|
||||
# https://github.com/tamasfe/taplo/issues/608
|
||||
#keys = ["interpreter"]
|
||||
|
||||
[rule.formatting]
|
||||
reorder_arrays = false
|
||||
|
||||
# Prevent breaking license file order
|
||||
[[rule]]
|
||||
include = ["Cargo.toml"]
|
||||
# https://github.com/tamasfe/taplo/issues/608
|
||||
# keys = ["package.metadata.deb.license-file", "package.metadata.deb.assets"]
|
||||
keys = ["package.metadata.deb", "package.metadata.deb.assets"]
|
||||
|
||||
[rule.formatting]
|
||||
reorder_arrays = false
|
Loading…
Add table
Add a link
Reference in a new issue