Skip to content

Interface: LintCliOptions

Defined in: packages/cli/src/index.ts:24

Properties

cwd?

ts
optional cwd?: string;

Defined in: packages/cli/src/index.ts:34


fix?

ts
optional fix?: boolean;

Defined in: packages/cli/src/index.ts:33

Apply deterministic autofixes before reporting.


format?

ts
optional format?: OutputFormat;

Defined in: packages/cli/src/index.ts:27


globs

ts
globs: string[];

Defined in: packages/cli/src/index.ts:26

Positional glob patterns / file paths.


maxWarnings?

ts
optional maxWarnings?: number;

Defined in: packages/cli/src/index.ts:31

Fail if more than this many warnings are reported (-1, the default, means unlimited).


quiet?

ts
optional quiet?: boolean;

Defined in: packages/cli/src/index.ts:29

Suppress warning-severity violations from the report (they never fail the run on their own).

Released under the MIT License