Skip to content

Commit

Permalink
chore: spell check hidden files (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework authored Oct 10, 2024
1 parent 146b38e commit aca3af8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# ======== caculate changes ========
# ======== calculate changes ========
changes:
runs-on: ubuntu-latest
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# ======== caculate changes ========
# ======== calculate changes ========
changes:
runs-on: windows-latest
outputs:
Expand Down
4 changes: 2 additions & 2 deletions cspell.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const { banWords } = require('cspell-ban-words');
module.exports = {
version: '0.2',
language: 'en',
files: ['**/*.{ts,tsx,js,jsx,md,mdx}'],
enableFiletypes: ['mdx'],
files: ['**/{*,.*}/**/*.{ts,tsx,js,jsx,md,mdx,yml,yaml}'],
enableFiletypes: ['mdx', 'github-actions-workflow'],
ignoreRegExpList: [
// ignore markdown anchors such as [modifyRsbuildConfig](#modifyrsbuildconfig)
'#.*?\\)',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"change": "changeset",
"changeset": "changeset",
"check-dependency-version": "check-dependency-version-consistency .",
"check-spell": "npx cspell",
"check-spell": "pnpx cspell",
"lint": "biome check . --diagnostic-level=warn && pnpm run check-spell",
"prebundle": "nx run-many -t prebundle",
"prepare": "pnpm run build && simple-git-hooks",
Expand Down
2 changes: 2 additions & 0 deletions scripts/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ craco
crossorigin
ctsx
datauri
dedupe
deepmerge
distpath
docgen
dogfooding
dorny
envinfo
estree
facti
Expand Down

0 comments on commit aca3af8

Please sign in to comment.