mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
misc: Update spellcheck configs
This commit is contained in:
+2
-2
@@ -4,10 +4,10 @@
|
||||
[codespell]
|
||||
|
||||
# Comma separated list of dirs to be skipped.
|
||||
skip = _vendor,.cspell.json,chroma.css,chroma_dark.css
|
||||
skip = *.ai,chroma.css,chroma_dark.css,.cspell.json
|
||||
|
||||
# Comma separated list of words to be ignored. Words must be lowercased.
|
||||
ignore-words-list = abl,edn,te,ue,trys,januar,womens,crossreferences
|
||||
ignore-words-list = abl,edn,januar,te,trys,ue,womens
|
||||
|
||||
# Check file names as well.
|
||||
check-filenames = true
|
||||
|
||||
+11
-3
@@ -1,8 +1,15 @@
|
||||
{
|
||||
"version": "0.2",
|
||||
"allowCompoundWords": true,
|
||||
"files": [
|
||||
"**/*.md"
|
||||
"overrides": [
|
||||
{
|
||||
"filename": "**/*",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"filename": "**/*.md",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"flagWords": [
|
||||
"alot",
|
||||
@@ -13,7 +20,6 @@
|
||||
"teh"
|
||||
],
|
||||
"ignorePaths": [
|
||||
"**/*.ai",
|
||||
"**/emojis.md",
|
||||
"**/commands/*",
|
||||
"**/showcase/*",
|
||||
@@ -102,6 +108,8 @@
|
||||
"descripción",
|
||||
"dokumentation",
|
||||
"erklärungen",
|
||||
"español",
|
||||
"français",
|
||||
"libros",
|
||||
"mercredi",
|
||||
"miesiąc",
|
||||
|
||||
@@ -13,15 +13,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: streetsidesoftware/cspell-action@v5
|
||||
- uses: streetsidesoftware/cspell-action@v7
|
||||
with:
|
||||
check_dot_files: false
|
||||
files: content/**/*.md
|
||||
incremental_files_only: true
|
||||
inline: warning
|
||||
strict: false
|
||||
strict: true
|
||||
# cspell uses the .cspell.json configuration file
|
||||
- uses: codespell-project/actions-codespell@v2
|
||||
with:
|
||||
check_filenames: true
|
||||
check_hidden: true
|
||||
# by default, codespell uses configuration from the .codespellrc
|
||||
# codespell uses the .codespellrc file
|
||||
|
||||
Reference in New Issue
Block a user