Skip to content

Commit 2f2b4c9

Browse files
authored
misc: Update spellcheck configs
1 parent 55a8ff7 commit 2f2b4c9

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

.codespellrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
[codespell]
55

66
# Comma separated list of dirs to be skipped.
7-
skip = _vendor,.cspell.json,chroma.css,chroma_dark.css
7+
skip = *.ai,chroma.css,chroma_dark.css,.cspell.json
88

99
# Comma separated list of words to be ignored. Words must be lowercased.
10-
ignore-words-list = abl,edn,te,ue,trys,januar,womens,crossreferences
10+
ignore-words-list = abl,edn,januar,te,trys,ue,womens
1111

1212
# Check file names as well.
1313
check-filenames = true

.cspell.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
22
"version": "0.2",
33
"allowCompoundWords": true,
4-
"files": [
5-
"**/*.md"
4+
"overrides": [
5+
{
6+
"filename": "**/*",
7+
"enabled": false
8+
},
9+
{
10+
"filename": "**/*.md",
11+
"enabled": true
12+
}
613
],
714
"flagWords": [
815
"alot",
@@ -13,7 +20,6 @@
1320
"teh"
1421
],
1522
"ignorePaths": [
16-
"**/*.ai",
1723
"**/emojis.md",
1824
"**/commands/*",
1925
"**/showcase/*",
@@ -102,6 +108,8 @@
102108
"descripción",
103109
"dokumentation",
104110
"erklärungen",
111+
"español",
112+
"français",
105113
"libros",
106114
"mercredi",
107115
"miesiąc",

.github/workflows/spellcheck.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: streetsidesoftware/cspell-action@v5
16+
- uses: streetsidesoftware/cspell-action@v7
1717
with:
18-
check_dot_files: false
19-
files: content/**/*.md
2018
incremental_files_only: true
21-
inline: warning
22-
strict: false
19+
strict: true
20+
# cspell uses the .cspell.json configuration file
2321
- uses: codespell-project/actions-codespell@v2
2422
with:
2523
check_filenames: true
2624
check_hidden: true
27-
# by default, codespell uses configuration from the .codespellrc
25+
# codespell uses the .codespellrc file

0 commit comments

Comments
 (0)