2023-07-19 20:44:36 +08:00
|
|
|
[tasks.lint]
|
2023-07-18 20:02:24 +08:00
|
|
|
dependencies = ["check-format-flow", "clippy-each-feature"]
|
2023-07-15 02:37:17 +08:00
|
|
|
|
|
|
|
[tasks.check-format]
|
|
|
|
env = { LEPTOS_PROJECT_DIRECTORY = "../" }
|
|
|
|
args = ["fmt", "--", "--check", "--config-path", "${LEPTOS_PROJECT_DIRECTORY}"]
|
2023-07-18 20:02:24 +08:00
|
|
|
|
|
|
|
[tasks.clippy-each-feature]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["hack", "clippy", "--all", "--each-feature", "--no-dev-deps"]
|