diff --git a/.github/workflows/check-spelling.yml b/.github/workflows/check-spelling.yml index 934c7b2..b01f0d1 100644 --- a/.github/workflows/check-spelling.yml +++ b/.github/workflows/check-spelling.yml @@ -25,5 +25,5 @@ jobs: - name: 🙏 Check Spelling using cspell run: | - export CSPELL_OUTPUT=$(sudo cspell --config cspell.json --no-summary "*.txt" "*.md" "docs/*.md" "src/**/*.h" "src/**/*.cpp" "tests/**/*.h" "tests/**/*.cpp") + export CSPELL_OUTPUT=$(sudo cspell --config cspell.json --no-summary) if [ -n "$CSPELL_OUTPUT" ]; then echo "$CSPELL_OUTPUT" && exit 1; fi; \ No newline at end of file diff --git a/build-tools/cspell/cspell.config.yml b/build-tools/cspell/cspell.config.yml index 94e2168..77b5098 100644 --- a/build-tools/cspell/cspell.config.yml +++ b/build-tools/cspell/cspell.config.yml @@ -4,12 +4,18 @@ $schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell version: "0.2" language: en-US,de-DE +files: + - '*.md' + - docs/*.md + - src/**/*.h + - src/**/*.cpp + - tests/**/*.h + - tests/**/*.cpp ignorePaths: - .git/*/** - .git/!(COMMIT_EDITMSG) - .vscode - .clang-format - - vcpkg.json - '*.lock' - '*.log' - '*.json' @@ -17,7 +23,6 @@ ignorePaths: - cspell.json - cspell*.{json,yaml} - CMakeLists.txt - - ./CMakeLists.txt - /build-tools - /cmake - /dependencies @@ -37,3 +42,5 @@ dictionaries: languageSettings: - languageId: '*' allowCompoundWords: false + - languageId: 'markdown' + caseSensitive: true \ No newline at end of file