Skip to content

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/[email protected]/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

module?

ts
optional module?: [__module, __module];

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


strict?

ts
optional strict?: boolean;

Defined in: node_modules/.pnpm/[email protected]/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.