Skip to content

Commit

Permalink
chore: add spell checking (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 14, 2024
1 parent 7da7304 commit e3771ad
Show file tree
Hide file tree
Showing 6 changed files with 748 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ jobs:
run: |
pnpm build
pnpm lint:fix
pnpm spell
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]
os:
- ubuntu-latest

Expand Down
9 changes: 7 additions & 2 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
version: '0.2'
ignorePaths: []
ignorePaths:
- node_modules
- pnpm-*
- temp
- coverage
- '*.snap'
dictionaryDefinitions: []
dictionaries: []
dictionaries: ['typescript']
words:
- autobuild
- buildscript
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.0.0",
"description": "Command line tool to inject files into markdown files.",
"type": "module",
"packageManager": "pnpm@8.6.9",
"packageManager": "pnpm@8.15.2",
"bin": {
"inject-markdown": "./bin.mjs"
},
Expand All @@ -19,6 +19,7 @@
"prettier:fix": "prettier -w .",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"spell": "cspell --no-progress .",
"sample:clean": "./bin.mjs --clean \"sample-clean/**/*.md\"",
"sample:hydrate": "./bin.mjs \"*.md\" --cwd=sample-clean --output-dir=sample-hydrated",
"test": "vitest run --pool=forks",
Expand Down Expand Up @@ -47,6 +48,7 @@
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitest/coverage-istanbul": "^1.2.2",
"cspell": "^8.3.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
Expand Down

0 comments on commit e3771ad

Please sign in to comment.