Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions cspell.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const { banWords } = require('cspell-ban-words');

module.exports = {
version: '0.2',
language: 'en',
files: ['**/{*,.*}/**/*.{ts,tsx,js,jsx,md,mdx,yml,yaml}'],
Comment thread
SoonIter marked this conversation as resolved.
enableFiletypes: ['mdx', 'github-actions-workflow'],
ignoreRegExpList: [
// ignore markdown anchors such as [fooBar](#foobar)
'#.*?\\)',
],
ignorePaths: [
'dist',
'dist-*',
'compiled',
'coverage',
'node_modules',
'pnpm-lock.yaml',
'skills/**/scripts',
],
flagWords: banWords,
dictionaries: ['dictionary'],
dictionaryDefinitions: [
{
name: 'dictionary',
path: './scripts/dictionary.txt',
addWords: true,
},
],
};
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"private": true,
"scripts": {
"build": "pnpm --parallel --filter ./packages/** build",
"check-spell": "cspell",
"format": "prettier --write .",
"lint": "biome check",
"lint": "biome check && pnpm run check-spell",
"prepare": "simple-git-hooks && pnpm build"
},
"simple-git-hooks": {
Expand All @@ -21,6 +22,8 @@
"@biomejs/biome": "^2.3.13",
"@rstackjs/config": "workspace:*",
"@types/node": "^24.10.9",
"cspell": "^9.6.4",
"cspell-ban-words": "^0.0.4",
"nano-staged": "^0.9.0",
"prettier": "^3.8.1",
"prettier-plugin-packagejson": "^3.0.0",
Expand Down
Loading