{"version":3,"sources":["../../src/types/option.types.ts"],"names":[],"mappings":";;AAAO,MAAM,YAAA,GAAe,CAAC,QAAA,EAAU,UAAU;AAC1C,MAAM,UAAA,GAAa,CAAC,QAAA,EAAU,UAAA,EAAY,KAAK","file":"option.types.cjs","sourcesContent":["export const FORMAT_TOOLS = ['eslint', 'prettier'] as const;\nexport const LINT_TOOLS = ['eslint', 'prettier', 'tsc'] as const;\n\nexport type FormatTool = (typeof FORMAT_TOOLS)[number];\nexport type LintTool = (typeof LINT_TOOLS)[number];\n\ninterface BaseCommandOptions {\n  cache?: boolean;\n  refreshCache?: boolean;\n  cacheLocation?: string;\n  ignorePath?: string;\n  maxWarnings?: string;\n}\n\nexport interface ToolSelectionOptions<TTool extends string> {\n  only?: TTool;\n  skip?: TTool[];\n}\n\nexport interface FormatCommandOptions\n  extends BaseCommandOptions,\n    ToolSelectionOptions<FormatTool> {}\n\nexport interface LintCommandOptions\n  extends BaseCommandOptions,\n    ToolSelectionOptions<LintTool> {\n  project?: string;\n}\n"]}