172b04e4d4
- Update taplo.toml exclude patterns to use glob patterns for zombienet files - Add StakingConfig to genesis_config_presets for proper era initialization - Fix cargo fmt issues in identity-kyc pallet and pezkuwichain runtime - Set num_cores to 2 for system teyrchains (Asset Hub + People Chain)
49 lines
994 B
TOML
49 lines
994 B
TOML
# all options https://taplo.tamasfe.dev/configuration/formatter-options.html
|
|
|
|
# ignore zombienet as they do some deliberate custom toml stuff
|
|
exclude = [
|
|
"**/integrationtests/**",
|
|
"**/testing/**",
|
|
"**/zombienet/**",
|
|
"**/zombienet_tests/**",
|
|
"target/**",
|
|
]
|
|
|
|
# global rules
|
|
[formatting]
|
|
reorder_arrays = true
|
|
inline_table_expand = false
|
|
array_auto_expand = true
|
|
array_auto_collapse = false
|
|
indent_string = " " # tab
|
|
|
|
# don't re-order order-dependent deb package metadata
|
|
[[rule]]
|
|
include = ["pezkuwi/Cargo.toml"]
|
|
keys = ["package.metadata.deb"]
|
|
|
|
[rule.formatting]
|
|
reorder_arrays = false
|
|
|
|
# don't re-order order-dependent rustflags
|
|
[[rule]]
|
|
include = [".cargo/config.toml"]
|
|
keys = ["build"]
|
|
|
|
[rule.formatting]
|
|
reorder_arrays = false
|
|
|
|
[[rule]]
|
|
include = ["Cargo.toml"]
|
|
keys = ["workspace.dependencies"]
|
|
|
|
[rule.formatting]
|
|
reorder_keys = true
|
|
|
|
[[rule]]
|
|
include = ["**/Cargo.toml"]
|
|
keys = ["build-dependencies", "dependencies", "dev-dependencies"]
|
|
|
|
[rule.formatting]
|
|
reorder_keys = true
|