exclude = [ "target", ] [commands.rustfmt] type = "both" include = "**/*.rs" cmd = [ "rustfmt", "--edition", "2021" ] lint_flags = "--check" ok_exit_codes = 0 lint_failure_exit_codes = 1 [commands.clippy] type = "lint" include = "**/*.rs" run_mode = "root" chdir = true cmd = [ "cargo", "clippy", "--locked", "--all-targets", "--all-features", "--", "-D", "clippy::all" ] ok_exit_codes = 0 lint_failure_exit_codes = 101 expect_stderr = true [commands.omegasort-gitignore] type = "both" include = "**/.gitignore" cmd = [ "omegasort", "--sort=path" ] lint_flags = "--check" tidy_flags = "--in-place" ok_exit_codes = 0 lint_failure_exit_codes = 1 expect_stderr = true