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"]
|
2023-07-14 18:37:17 +00:00
|
|
|
|
|
|
|
[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"
|
2024-03-08 18:18:37 +00:00
|
|
|
args = [
|
|
|
|
"clippy",
|
2024-04-01 19:16:53 +00:00
|
|
|
"--all-features",
|
|
|
|
"--no-deps",
|
2024-03-08 18:18:37 +00:00
|
|
|
"--",
|
|
|
|
"-D",
|
2024-04-01 19:16:53 +00:00
|
|
|
"clippy::print_stdout",
|
2024-03-08 18:18:37 +00:00
|
|
|
]
|