Basic TOML Lint (#11348)

* basic lint

* lint ordering
This commit is contained in:
Shawn Tabrizi
2022-05-04 14:38:54 +01:00
committed by GitHub
parent 19a9e56444
commit 7d5202341b
186 changed files with 1435 additions and 1531 deletions
+3 -4
View File
@@ -16,8 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
log = { version = "0.4.16", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../../benchmarking", optional = true }
frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, path = "../../benchmarking" }
frame-support = { version = "4.0.0-dev", default-features = false, path = "../../support" }
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../system" }
pallet-balances = { version = "4.0.0-dev", default-features = false, path = "../../balances" }
@@ -26,7 +25,7 @@ sp-runtime = { version = "6.0.0", default-features = false, path = "../../../pri
sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" }
[dev-dependencies]
sp-core = { version = "6.0.0", path = "../../../primitives/core", default-features = false }
sp-core = { version = "6.0.0", default-features = false, path = "../../../primitives/core" }
[features]
default = ["std"]
@@ -40,7 +39,7 @@ std = [
"scale-info/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std"
"sp-std/std",
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
@@ -17,12 +17,11 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features =
lite-json = { version = "0.1", default-features = false }
log = { version = "0.4.16", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
frame-support = { version = "4.0.0-dev", default-features = false, path = "../../support" }
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../system" }
sp-core = { version = "6.0.0", default-features = false, path = "../../../primitives/core" }
sp-io = { version = "6.0.0", default-features = false, path = "../../../primitives/io" }
sp-keystore = { version = "0.12.0", path = "../../../primitives/keystore", optional = true }
sp-keystore = { version = "0.12.0", optional = true, path = "../../../primitives/keystore" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../../primitives/runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" }
@@ -30,15 +29,15 @@ sp-std = { version = "4.0.0", default-features = false, path = "../../../primiti
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"frame-support/std",
"frame-system/std",
"lite-json/std",
"log/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-keystore",
"sp-runtime/std",
"sp-std/std",
"log/std",
]
try-runtime = ["frame-support/try-runtime"]
+1 -2
View File
@@ -14,7 +14,6 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
frame-support = { version = "4.0.0-dev", default-features = false, path = "../../support" }
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../system" }
sp-core = { version = "6.0.0", default-features = false, path = "../../../primitives/core" }
@@ -27,9 +26,9 @@ sp-tasks = { version = "4.0.0-dev", default-features = false, path = "../../../p
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",