Skip to content

Commit

Permalink
feat(cspell-config): support cspell 8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Dec 2, 2023
1 parent b37ae1a commit 92ba01e
Show file tree
Hide file tree
Showing 8 changed files with 675 additions and 234 deletions.
19 changes: 19 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"import": ["@taiga-ui/cspell-config/cspell.config.js"],
"files": ["*/*.*"],
"ignorePaths": [
".git",
"CHANGELOG.md",
".cspell.json",
"**/dist/**",
"**/cspell/**",
"**/assets/**",
"**/node_modules/**",
"*.{log,svg,snap,png,ogv,yml}",
"**/projects/i18n/languages/**",
"**/addon-commerce/enums/currency-code.ts",
"**/addon-commerce/utils/get-currency-symbol.ts"
],
"ignoreWords": ["meowtec"]
}
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- run: |
npm run commitlint
npm run prettier -- --check
npm run cspell -- --no-progress
npm run stylelint
npm run lint
Expand Down
849 changes: 634 additions & 215 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"format": "npm run prettier -- --write",
"commitlint": "npx commitlint --from=HEAD~1",
"stylelint": "stylelint '**/*.{less,css}' --allow-empty-input --config package.json",
"cspell": "cspell --relative --dot --gitignore .",
"version": "npm run format",
"submodule:update": "git submodule update --rebase --remote",
"submodule:reset": "git submodule | awk '{ git restore --staged $2 }' && git submodule update --init --recursive"
Expand Down Expand Up @@ -90,6 +91,7 @@
"@nx/jest": "17.1.3",
"@nx/node": "17.1.3",
"@nx/workspace": "17.1.3",
"cspell": "8.1.0",
"eslint": "8.54.0",
"eslint-plugin-perfectionist": "2.5.0",
"lerna": "8.0.0",
Expand Down
32 changes: 16 additions & 16 deletions projects/cspell-config/configs/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"caseSensitive": false,
"import": [
"node_modules/@cspell/dict-public-licenses/cspell-ext.json",
"node_modules/@cspell/dict-scientific-terms-us/cspell-ext.json",
"node_modules/@cspell/dict-companies/cspell-ext.json",
"node_modules/@cspell/dict-docker/cspell-ext.json",
"node_modules/@cspell/dict-k8s/cspell-ext.json",
"node_modules/@cspell/dict-java/cspell-ext.json",
"node_modules/@cspell/dict-typescript/cspell-ext.json",
"node_modules/@cspell/dict-filetypes/cspell-ext.json",
"node_modules/@cspell/dict-git/cspell-ext.json",
"node_modules/@cspell/dict-fullstack/cspell-ext.json",
"node_modules/@cspell/dict-software-terms/cspell-ext.json",
"node_modules/@cspell/dict-html-symbol-entities/cspell-ext.json",
"node_modules/@cspell/dict-npm/cspell-ext.json",
"node_modules/@cspell/dict-node/cspell-ext.json",
"node_modules/@cspell/dict-html/cspell-ext.json",
"node_modules/@cspell/dict-css/cspell-ext.json"
"@cspell/dict-public-licenses/cspell-ext.json",
"@cspell/dict-scientific-terms-us/cspell-ext.json",
"@cspell/dict-companies/cspell-ext.json",
"@cspell/dict-docker/cspell-ext.json",
"@cspell/dict-k8s/cspell-ext.json",
"@cspell/dict-java/cspell-ext.json",
"@cspell/dict-typescript/cspell-ext.json",
"@cspell/dict-filetypes/cspell-ext.json",
"@cspell/dict-git/cspell-ext.json",
"@cspell/dict-fullstack/cspell-ext.json",
"@cspell/dict-software-terms/cspell-ext.json",
"@cspell/dict-html-symbol-entities/cspell-ext.json",
"@cspell/dict-npm/cspell-ext.json",
"@cspell/dict-node/cspell-ext.json",
"@cspell/dict-html/cspell-ext.json",
"@cspell/dict-css/cspell-ext.json"
],
"words": [
"angularjs",
Expand Down
2 changes: 1 addition & 1 deletion projects/cspell-config/configs/locales/arabic.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"import": ["node_modules/@cspell/dict-ar/cspell-ext.json"],
"import": ["@cspell/dict-ar/cspell-ext.json"],
"caseSensitive": false,
"words": [
"کلیز",
Expand Down
2 changes: 1 addition & 1 deletion projects/cspell-config/configs/locales/latin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"caseSensitive": false,
"import": ["node_modules/@cspell/dict-lorem-ipsum/cspell-ext.json"],
"import": ["@cspell/dict-lorem-ipsum/cspell-ext.json"],
"words": [
"pythonesque",
"schplenden",
Expand Down
2 changes: 1 addition & 1 deletion projects/cspell-config/configs/locales/ru.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"import": ["node_modules/@cspell/dict-ru_ru/cspell-ext.json"],
"import": ["@cspell/dict-ru_ru/cspell-ext.json"],
"caseSensitive": false,
"words": [
"Инкин",
Expand Down

0 comments on commit 92ba01e

Please sign in to comment.