-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added cspell to the codebase and ci (#765)
* feat(*): added cspell to the codebase and ci * revert(docs): removed content dir versioned unintentionally * refactor(github actions): replaced cspell action with local version * fix(web-ui-sdk): fixed eslint tsconfig for cspell * ci(web-ui-sdk): added cspell config to eslint ignore * feat(*): added cspell as a pre-commit hook and fixed found typos
- Loading branch information
Showing
40 changed files
with
2,308 additions
and
2,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Spellcheck | ||
description: Spellcheck the project | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.12.1 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
id: pnpm-install | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: Install dependencies | ||
shell: bash | ||
run: pnpm install | ||
|
||
- name: Spellcheck | ||
shell: bash | ||
run: pnpm spellcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"*.{js,cjs,mjs,jsx,ts,tsx,json,css,svelte}": "pnpm format" | ||
"*.{js,cjs,mjs,jsx,ts,tsx,json,css,svelte}": "pnpm format", | ||
"*": "pnpm spellcheck" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = { | ||
version: '0.2', | ||
id: 'cspell-project-config', | ||
name: 'cspell Project Config', | ||
language: 'en', | ||
ignoreRegExpList: [ | ||
'c[0-9a-z]{24}', | ||
'[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}', | ||
'[a-zA-Z0-9+/]{2,}={0,2}', | ||
], | ||
words: [ | ||
'Lilyan', | ||
'Brockside', | ||
'buhgdawe', | ||
'clhz', | ||
'lhxy', | ||
'lhzd', | ||
'ajduq', | ||
'UBOs', | ||
'Ballerine', | ||
"Ballerine's", | ||
'ballerine', | ||
'blrn', | ||
'xstate', | ||
'Typecheck', | ||
'typecheck', | ||
'Astro', | ||
'astro', | ||
'astrojs', | ||
'shiki', | ||
'docsearch', | ||
'Cheatsheet', | ||
'frontmatter', | ||
'Encabezado', | ||
'sección', | ||
'Introducción', | ||
'Aglolia', | ||
'tsconfigs', | ||
'BACKOFFICE', | ||
'Backoffice', | ||
'backoffice', | ||
'commitlint', | ||
'VITE', | ||
'MXTSHOTA', | ||
'vite', | ||
'formkit', | ||
'hookform', | ||
'lukemorales', | ||
'tanstack', | ||
'clsx', | ||
'tailwindcss', | ||
'languagedetector', | ||
'lucide', | ||
'daisyui', | ||
'viewports', | ||
'msedge', | ||
'felte', | ||
'fontsource', | ||
'nestjs', | ||
'websockets', | ||
'Kamil', | ||
'Myśliwiec', | ||
'nestframework', | ||
'fintech', | ||
'jslib', | ||
'zerodevx', | ||
'compressorjs', | ||
'deepmerge', | ||
'mjpeg', | ||
'Prefs', | ||
'gstreamer', | ||
'sessionstore', | ||
'firstrun', | ||
'embeddable', | ||
'gzipped', | ||
'jsfiddle', | ||
'ekyc', | ||
'ICSS', | ||
'jmespath', | ||
'sibedge', | ||
'healthcheck', | ||
'isready', | ||
'intg', | ||
'accesscontrol', | ||
'testcontainers', | ||
], | ||
maxNumberOfProblems: 1000, | ||
ignorePaths: [ | ||
'*.snap', | ||
'node_modules', | ||
'package-lock.json', | ||
'coverage/**', | ||
'dist/**', | ||
'dist.*/**', | ||
'temp/**', | ||
'CHANGELOG.md', | ||
'package.json', | ||
'.cspell.json', | ||
'cspell.json', | ||
'.vscode/**', | ||
'tsconfig.tsbuildinfo', | ||
'stats.html', | ||
], | ||
flagWords: [], | ||
dictionaries: ['workspace'], | ||
ignoreWords: [], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ | ||
module.exports = require('../../packages/config/cspell.base.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.