ci: enable spellchecking for frontmatter titles

This commit is contained in:
Robert Kaussow 2021-02-21 13:50:15 +01:00
parent a6f5bb9d5f
commit 3f79ebfbf7
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -159,7 +159,7 @@ steps:
image: node:lts-alpine
commands:
- npm install -g spellchecker-cli
- spellchecker --files 'exampleSite/content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls frontmatter --no-suggestions
- spellchecker --files 'exampleSite/content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls frontmatter --frontmatter-keys title --no-suggestions
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error