Skip to content

obsidianDevUtilsConfig

Nano-staged configuration that runs file-based lint, format, and spellcheck on staged files.

Only includes tools that can operate on individual files. Whole-project checks (TypeScript compilation, unit tests) are left to CI.

Commands use npm run ... -- so nano-staged file paths are forwarded as CLI arguments.

Import:

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

Signature:

const obsidianDevUtilsConfig: Record<string, string[]>

Type: Record<string, string[]>


Links to this page: