Skip to content

Commit

Permalink
ci(review): add configuration spell
Browse files Browse the repository at this point in the history
  • Loading branch information
vagnerclementino-hotmart committed Sep 8, 2024
1 parent bf1ce02 commit 66d641a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/housekeeping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
- run: npm install -g cspell
- run: npm install -g @cspell/dict-pt-br
- run: cspell link add @cspell/dict-pt-br
- run: cspell --config ./cSpell.json "**/*.md"
- run: cspell --config ./cSpell.json "**/*.mdx"
- run: cspell --config ./cspell.json "**/*.md"
- run: cspell --config ./cspell.json "**/*.mdx"
24 changes: 24 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.2",
"language": "pt_BR",
"ignorePaths": [
".git",
".gitignore",
"CHANGELOG.md",
"node_modules",
"package-lock.json",
"Makefile",
"MakefileDocumentation",
"MakefileVars",
"mkdocs.yml"
],
"caseSensitive": false,
"ignoreRegExpList": [
"\\((.*)\\)", // Markdown links
"```[a-z]*\n[\\s\\S]*?\n```", // Markdown code blocks. h/t https://coderwall.com/p/r6b4xg/regex-to-match-github-s-markdown-code-blocks,
"\\`([^\\`].*?)\\`", // inline code blocks. h/t https://stackoverflow.com/questions/41274241/how-to-capture-inline-markdown-code-but-not-a-markdown-code-fence-with-regex
"\\{%.*%\\}", // liquid syntax
"/^\\s*```[\\s\\S]*?^\\s*```/gm", // Another attempt at markdown code blocks. https://github.com/streetsidesoftware/vscode-spell-checker/issues/202#issuecomment-377477473
"^---[\\s\\S]*?---$" // YAML front-matter
]
}

0 comments on commit 66d641a

Please sign in to comment.