diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 00000000..4827dca2 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,17 @@ +name: Check spelling + +on: + pull_request: + branches: + - main + +jobs: + spellcheck: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run spell checker + uses: streetsidesoftware/cspell-action@v6 diff --git a/cspell.yml b/cspell.yml new file mode 100644 index 00000000..4910cbbf --- /dev/null +++ b/cspell.yml @@ -0,0 +1,24 @@ +version: "0.2" + +language: en +useGitignore: true +ignoreWords: + - ecomap + - androidx + - appcompat + - constraintlayout + - gradlew + - proguard + - mipmap + - aapt + - sharedpref + - Compat + - Avenir + - Parens +ignorePaths: + - gradle + - gradle.properties + - gradlew + - gradlew.bat + - proguard-rules.pro + - "*.svg" diff --git a/web/tsconfig.json b/web/tsconfig.json index ff8fdffa..98bd03ee 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -6,7 +6,7 @@ "module": "ESNext", "resolveJsonModule": true, /** - * Typecheck JS in `.svelte` and `.js` files by default. + * Type check JS in `.svelte` and `.js` files by default. * Disable checkJs if you'd like to use dynamic types in JS. * Note that setting allowJs false does not prevent the use * of JS in `.svelte` files.