leptos/cargo-make/lint.toml

19 lines
411 B
TOML
Raw Permalink Normal View History

2023-07-19 12:44:36 +00:00
[tasks.lint]
2023-07-18 12:02:24 +00:00
dependencies = ["check-format-flow", "clippy-each-feature"]
[tasks.check-format]
env = { LEPTOS_PROJECT_DIRECTORY = "../" }
args = ["fmt", "--", "--check", "--config-path", "${LEPTOS_PROJECT_DIRECTORY}"]
2023-07-18 12:02:24 +00:00
[tasks.clippy-each-feature]
2023-07-19 12:54:05 +00:00
dependencies = ["install-clippy"]
2023-07-18 12:02:24 +00:00
command = "cargo"
args = [
"clippy",
"--all-features",
"--no-deps",
"--",
"-D",
"clippy::print_stdout",
]