Skip to content

GetNanoStagedConfigOptions

Options for getNanoStagedConfig.

Import:

import type { GetNanoStagedConfigOptions } from 'obsidian-dev-utils/script-utils/nano-staged-config';

Signature:

export interface GetNanoStagedConfigOptions

Properties

PropertyTypeDescription
additionalWriterTasks?Readonly<Record<string, readonly string[]>>Repo-specific file-rewriting tasks, keyed by the nano-staged pattern that claims their files.

Each gets spellcheck appended and its files removed from the spellcheck-only key, exactly like the shared writers. A pattern must not contain /, and must not repeat a shared writer pattern.

Links to this page: