Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/cli / / ToolsLintOptions

Interface: ToolsLintOptions

Defined in: packages/cli/src/commands/tools-lint.ts:85

Stable

Extends

  • CommonOutputOptions

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
config?readonlystringOptional path to a tsconfig.json whose include overrides the file glob.-packages/cli/src/commands/tools-lint.ts:87
counterSink?readonlyToolsLintCounterSinkOptional sink for the tool.lint.threshold.violations.total counter (RB-49). The CLI calls this once per below-threshold tool per invocation. Default: no-op.-packages/cli/src/commands/tools-lint.ts:106
cwd?readonlystringOverride cwd. Default process.cwd().-packages/cli/src/commands/tools-lint.ts:95
format?readonly"text" | "json"Output format. Default 'text'.-packages/cli/src/commands/tools-lint.ts:91
inlineSources?readonlyreadonly { file: string; source: string; }[]Test seam — supply a list of (file, source) pairs directly so the test does not need to fish around the filesystem.-packages/cli/src/commands/tools-lint.ts:100
json?readonlybooleanEmit a structured JSON document instead of human-readable text.CommonOutputOptions.jsonpackages/cli/src/internal/output.ts:71
jsonPrint?readonlyJsonSinkTest seam — capture JSON documents instead of writing to stdout.CommonOutputOptions.jsonPrintpackages/cli/src/internal/output.ts:77
nonInteractive?readonlybooleanForce --non-interactive semantics (skip prompts; require flags / env).CommonOutputOptions.nonInteractivepackages/cli/src/internal/output.ts:73
print?readonlyPrintSinkTest seam — capture human lines instead of writing to stderr.CommonOutputOptions.printpackages/cli/src/internal/output.ts:75
source?readonlystringOptional override of the file glob pattern.-packages/cli/src/commands/tools-lint.ts:93
threshold?readonlynumberMinimum acceptable per-tool score. Default 60.-packages/cli/src/commands/tools-lint.ts:89