forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from paritytech/master
[pull] master from paritytech:master
- Loading branch information
Showing
1,755 changed files
with
56,308 additions
and
61,049 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
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,33 @@ | ||
# all options https://taplo.tamasfe.dev/configuration/formatter-options.html | ||
|
||
# ignore zombienet as they do some deliberate custom toml stuff | ||
exclude = [ | ||
"cumulus/zombienet/**", | ||
"polkadot/node/malus/integrationtests/**", | ||
"polkadot/zombienet_tests/**", | ||
"substrate/zombienet/**", | ||
] | ||
|
||
# global rules | ||
[formatting] | ||
reorder_arrays = true | ||
inline_table_expand = false | ||
array_auto_expand = false | ||
array_auto_collapse = false | ||
indent_string = " " # tab | ||
|
||
# don't re-order order-dependent deb package metadata | ||
[[rule]] | ||
include = ["polkadot/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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"pallets": { | ||
"1": { | ||
"constants": { | ||
"EpochDuration": { | ||
"value": [ 88, 2, 0, 0, 0, 0, 0, 0 ]} | ||
} | ||
}, | ||
|
||
"2": { | ||
"constants": { | ||
"MinimumPeriod": { | ||
"value": [ 184, 11, 0, 0, 0, 0, 0, 0 ]} | ||
} | ||
} | ||
} | ||
} |
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,17 @@ | ||
{ | ||
"pallets": { | ||
"1": { | ||
"constants": { | ||
"EpochDuration": { | ||
"value": [ 88, 2, 0, 0, 0, 0, 0, 0 ]} | ||
} | ||
}, | ||
|
||
"2": { | ||
"constants": { | ||
"MinimumPeriod": { | ||
"value": [ 184, 11, 0, 0, 0, 0, 0, 0 ]} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.