mdsf/tools/
xo.rs

1//!
2//! THIS FILE IS GENERATED USING CODE - DO NOT EDIT MANUALLY
3//!
4
5use 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("--fix");
13    cmd.arg("--stdin");
14    cmd
15}
16
17pub const COMMANDS: [CommandType; 7] = [
18    CommandType::NodeModules("xo"),
19    CommandType::Direct("xo"),
20    CommandType::Npm("xo", "xo"),
21    CommandType::Pnpm("xo", "xo"),
22    CommandType::Bun("xo", "xo"),
23    CommandType::Deno("xo", "xo"),
24    CommandType::Yarn("xo", "xo"),
25];
26
27pub const IS_STDIN: bool = true;