1use crate::runners::CommandType;
6
7#[inline]
8pub fn set_args(
9 mut cmd: std::process::Command,
10 file_path: &std::path::Path,
11) -> std::process::Command {
12 cmd.arg("--quiet");
13 cmd.arg(file_path);
14 cmd
15}
16
17pub const COMMANDS: [CommandType; 7] = [
18 CommandType::NodeModules("csslint"),
19 CommandType::Direct("csslint"),
20 CommandType::Npm("csslint", "csslint"),
21 CommandType::Pnpm("csslint", "csslint"),
22 CommandType::Bun("csslint", "csslint"),
23 CommandType::Deno("csslint", "csslint"),
24 CommandType::Yarn("csslint", "csslint"),
25];
26
27pub const IS_STDIN: bool = false;