leptos/cargo-make/lint.toml
2024-03-08 13:18:37 -05:00

20 lines
439 B
TOML

[tasks.lint]
dependencies = ["check-format-flow", "clippy-each-feature"]
[tasks.check-format]
env = { LEPTOS_PROJECT_DIRECTORY = "../" }
args = ["fmt", "--", "--check", "--config-path", "${LEPTOS_PROJECT_DIRECTORY}"]
[tasks.clippy-each-feature]
dependencies = ["install-clippy"]
command = "cargo"
args = [
"hack",
"clippy",
"--all",
"--each-feature",
"--no-dev-deps",
"--",
"-D",
"clippy::print_stdout"
]