Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update cspell config #342

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
50 changes: 50 additions & 0 deletions cspell.config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json

dictionaries:
- bash
- en_US
- filetypes
- misc
- node
- npm
- project-dictionary
- softwareTerms
- typescript

dictionaryDefinitions:
- addWords: true
name: project-dictionary
path: ./project-dictionary.txt

ignorePaths:
- .all-contributorsrc
- .git
- .gitattributes
- .github
- .gitignore
- .husky
- .lintstagedrc.yml
- .markdownlint.json
- .npmrc
- .prettierignore
- .prettierrc.yml
- .vscode
- CHANGELOG.md
- coverage
- cspell.config.yml
- docs/coverage.svg
- docs/generated
- lib
- node_modules
- pnpm-lock.yaml
- project-dictionary.txt

ignoreRegExpList:
- /\b[A-Fa-f0-9]{6}\b/ # ignore hex color codes
- /\b[A-Za-z0-9]{32,}\b/ # ignore long string of hex characters
- /`[^`]*`/ # ignore things in `...`
- /```[\w\W]*?```/ # ignore things in ```...```

language: en-US

version: "0.2"
38 changes: 0 additions & 38 deletions cspell.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
"lint:package-json": "npmPkgJsonLint .",
"lint:packages": "pnpm dedupe --check",
"lint:spelling": "cspell \"**\" \".github/**/*\"",
"lint:spelling": "cspell lint --no-progress --show-suggestions --show-context --dot \"**\" \".github/**/*\"",
"prepare": "husky install",
"should-semantic-release": "should-semantic-release --verbose",
"test": "vitest",
Expand Down
23 changes: 23 additions & 0 deletions project-dictionary.txt
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new recommended style.

I don't love having two config files now 😕 where is this new style recommended from?

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
ajafff
Codecov
codespace
commitlint
contributorsrc
conventionalcommits
freshable
infile
knip
konamimojisplosion
lcov
markdownlintignore
npmpackagejsonlintrc
outro
packagejson
phenomnomnominal
quickstart
tsquery
tsup
tsutils
tsvfs
typeguards
wontfix