Skip to content

Commit

Permalink
chore: update cspell config
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Feb 2, 2024
1 parent 9c1e698 commit a375332
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"useGitignore": true,
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"ignorePaths": ["**/*.json", "**/*.css", "node_modules", "**/*.log"],
"useGitignore": true,
"language": "en",
"words": []
"words": ["dataurl", "devpool", "outdir", "servedir"],
"dictionaries": ["typescript", "node", "software-terms"],
"import": ["@cspell/dict-typescript/cspell-ext.json", "@cspell/dict-node/cspell-ext.json", "@cspell/dict-software-terms"],
"ignoreRegExpList": ["[0-9a-fA-F]{6}"]
}
2 changes: 1 addition & 1 deletion .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
run: yarn add cspell

- name: Run cspell
run: yarn cspell "src/**/*.{ts,json}"
run: yarn format:cspell"
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
"utils:remove-list": "tsx -e \"require('src/utils/clear-unused-labels/clear-unused-labels.ts').default();\"",
"utils:colorize": "tsx -e \"require('src/utils/colorize-labels.ts').default();\"",
"utils:toggle-label": "tsx src/cli/cli-entry-wrapper.ts --tool toggle-label -v ping",
"format": "run-s format:prettier format:lint",
"format": "run-s format:lint format:prettier format:cspell",
"format:lint": "eslint --fix .",
"format:prettier": "prettier --write .",
"format:cspell": "cspell **/*",
"prepare": "husky install"
},
"dependencies": {
Expand All @@ -29,6 +30,9 @@
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@cspell/dict-node": "^4.0.3",
"@cspell/dict-software-terms": "^3.3.17",
"@cspell/dict-typescript": "^3.1.2",
"@types/command-line-args": "^5.2.0",
"@types/command-line-usage": "^5.0.2",
"@types/node": "^20.10.0",
Expand Down
5 changes: 4 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ __metadata:
languageName: node
linkType: hard

"@cspell/dict-software-terms@npm:^3.3.15":
"@cspell/dict-software-terms@npm:^3.3.15, @cspell/dict-software-terms@npm:^3.3.17":
version: 3.3.17
resolution: "@cspell/dict-software-terms@npm:3.3.17"
checksum: 0e8b3cf226f2cd3dd0bccb1f28a8fac24d7223e7ba670b73aec08cb69a1285755743716e53261ae4ef4f6f43d7682a8af11f4a14ef50b1875c1809f955c71f06
Expand Down Expand Up @@ -5977,6 +5977,9 @@ __metadata:
dependencies:
"@commitlint/cli": ^18.4.3
"@commitlint/config-conventional": ^18.4.3
"@cspell/dict-node": ^4.0.3
"@cspell/dict-software-terms": ^3.3.17
"@cspell/dict-typescript": ^3.1.2
"@octokit/rest": ^20.0.1
"@types/command-line-args": ^5.2.0
"@types/command-line-usage": ^5.0.2
Expand Down

0 comments on commit a375332

Please sign in to comment.