Skip to content

Commit 8f65a4a

Browse files
committed
chore: move to ts cspell config
1 parent c154c59 commit 8f65a4a

File tree

4 files changed

+227
-220
lines changed

4 files changed

+227
-220
lines changed

.cspell.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

cspell.config.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { defineConfig } from 'cspell'
2+
3+
export default defineConfig({
4+
ignorePaths: [
5+
'.github',
6+
'changelog.md',
7+
'license',
8+
'pnpm-lock.yaml',
9+
'tsconfig.json',
10+
],
11+
words: [
12+
'azat',
13+
'changelogen',
14+
'changelogithub',
15+
'crosspost',
16+
'humanwhocodes',
17+
],
18+
dictionaries: ['css', 'html', 'node', 'npm', 'typescript'],
19+
useGitignore: true,
20+
language: 'en',
21+
})

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"test:format": "prettier --check \"**/*.{astro,svelte,js,ts,json,md,yml}\"",
4444
"test:js": "eslint .",
4545
"test:packages": "pnpm dedupe --check",
46-
"test:spelling": "cspell \"**/*\"",
46+
"test:spelling": "cspell --config cspell.config.ts \"**/*\"",
4747
"test:types": "tsc --noEmit --pretty",
4848
"test:unit": "vitest --run --coverage",
4949
"test:usage": "knip"
@@ -62,7 +62,7 @@
6262
"changelogen": "^0.6.2",
6363
"changelogithub": "^13.16.0",
6464
"clean-publish": "^5.2.2",
65-
"cspell": "^9.2.1",
65+
"cspell": "^9.3.0",
6666
"dedent": "^1.7.0",
6767
"eslint": "9.36.0",
6868
"eslint-plugin-eslint-plugin": "^7.0.0",

0 commit comments

Comments
 (0)