Skip to content

Commit

Permalink
feat: add cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
9renpoto committed Jan 1, 2024
1 parent 60e14c7 commit 0816267
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 8 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Check spelling"
on:
pull_request:

jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v5
with:
files: "*.{rs,ts,tsx,md}"
incremental_files_only: false
12 changes: 10 additions & 2 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ name: Deno

on:
push:
branches: ["main"]
branches:
- "main"
paths:
- "**.json"
- "**.ts"
- "**.tsx"
pull_request:
branches: ["main"]
paths:
- "**.json"
- "**.ts"
- "**.tsx"

permissions:
contents: read
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
name: Deploy

on:
push:
branches: [main]
branches:
- main
paths:
- "**.json"
- "**.ts"
- "**.tsx"

pull_request:
branches: main
paths:
- "**.json"
- "**.ts"
- "**.tsx"

jobs:
deploy:
Expand Down
5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"deno.enable": true,
"cSpell.words": [
"tailwind"
]
"deno.enable": true
}
22 changes: 22 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"useGitignore": true,
"dictionaries": [
"html",
"en_US",
"softwareTerms",
"typescript",
"css",
"node",
"rust",
"npm",
"fonts",
"filetypes"
],
"words": [
"9renpoto",
"bluesky",
"denoland"
]
}

0 comments on commit 0816267

Please sign in to comment.