Skip to content

GetNanoStagedConfigOptions.additionalWriterTasks?

GetNanoStagedConfigOptions › additionalWriterTasks?

Type: 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.