跳到正文

Interface: PublintOptions

Defined in: src/features/pkg/publint.ts:11

Extends

  • Omit<Options, "pack" | "pkgDir">

Properties

level?

ts
optional level: "error" | "suggestion" | "warning";

Defined in: node_modules/.pnpm/publint@0.3.18/node_modules/publint/src/index.d.ts:159

The level of messages to log (default: 'suggestion').

  • suggestion: logs all messages
  • warning: logs only warning and error messages
  • error: logs only error messages

Inherited from

ts
Omit.level

strict?

ts
optional strict: boolean;

Defined in: node_modules/.pnpm/publint@0.3.18/node_modules/publint/src/index.d.ts:193

Report warnings as errors. This runs before level filters the result, which means that if level is set to 'error', all warnings (elevated as errors) will still be reported.

Inherited from

ts
Omit.strict

Released under the MIT License.