@zuke/cspell
`@zuke/cspell` — typed `cspell` task wrappers for Zuke builds.
@zuke/cspell on JSR ↗ 3 symbols
Symbols
class CspellSettings extends ToolSettings Settings for a cspell lint run.
| Member | Signature | Doc |
|---|---|---|
files | files(...globs: PathLike[]): this | Files or globs to check (positional); repeatable. |
config | config(path: PathLike): this | Use an explicit config file (-c/--config). |
noProgress | noProgress(): this | Suppress the progress output (--no-progress). |
noSummary | noSummary(): this | Suppress the summary line (--no-summary). |
showSuggestions | showSuggestions(): this | Print spelling suggestions for each issue (--show-suggestions). |
showContext | showContext(): this | Print the surrounding line for each issue (--show-context). |
quietOutput | quietOutput(): this | Only emit issues, hiding informational output (--quiet). |
cache | cache(): this | Cache results between runs (--cache). |
dot | dot(): this | Include dotfiles and dot-directories (--dot). |
gitignore | gitignore(): this | Honour .gitignore files (--gitignore). |
unique | unique(): this | Report each unique issue only once (--unique). |
locale | locale(value: string): this | Restrict to a locale, e.g. en,en-GB (--locale). |
exclude | exclude(glob: string): this | Exclude files matching a glob (-e/--exclude); repeatable. |
maxDuplicateProblems | maxDuplicateProblems(count: number): this | Cap the number of duplicate problems reported (--max-duplicate-problems). |
const CspellTasks: CspellTasksApi Typed task functions for the cspell spell-checker.
interface CspellTasksApi The shape of CspellTasks.
| Member | Signature | Doc |
|---|---|---|
lint | lint(configure?: Configure<CspellSettings>): Promise<CommandOutput> | Spell-check with cspell lint. |