Skip to content

SpellcheckContentParams

Parameters for spellcheckContent.

Import:

import type { SpellcheckContentParams } from 'obsidian-dev-utils/script-utils/linters/cspell-content';

Signature:

export interface SpellcheckContentParams

Properties

PropertyTypeDescription
contentstringThe content to spellcheck.
filePathstringThe path the content is checked AS — normally the path it is about to be written to. It decides which cspell configuration applies, and it is what every reported finding is named after.

Links to this page: