The special .github repository of @dcdavidev. It holds the profile README and the default community health files for every repository that does not have its own. Its tooling follows spellbook-template-monorepo and the spellbook suite.
| File | Purpose |
|---|---|
profile/README.md |
The profile README shown on GitHub. |
CODE_OF_CONDUCT.md |
The default code of conduct (Contributor Covenant 3.0). |
FUNDING.yml |
The default sponsor links (GitHub Sponsors, Ko-fi, Buy Me a Coffee, …). |
docs/CONTRIBUTING.md |
The default contributing guide. |
docs/SECURITY.md |
The default security policy. |
docs/SUPPORT.md |
The default support guide. |
.github/ISSUE_TEMPLATE/ |
The default bug report and feature request forms. |
.github/PULL_REQUEST_TEMPLATE.md |
The default pull request template. |
| Tool | Configuration |
|---|---|
| ESLint | @dcdavidev/eslint-plugin, in eslint.config.mjs |
| Prettier | @dcdavidev/prettier-config, in prettier.config.mjs |
| CSpell | @dcdavidev/cspell-config, in cspell.config.mjs |
| Commitlint | @dcdavidev/commitlint-config, in commitlint.config.mjs |
| czg | @dcdavidev/cz-config, in cz.config.mjs |
| Lefthook | lefthook.yml |
| EditorConfig | .editorconfig, from @dcdavidev/editorconfig |
| VS Code | .vscode/, from @dcdavidev/vscode-config |
| Renovate | .github/renovate.json5 |
Every dependency version is set once in the catalog of pnpm-workspace.yaml. CI runs the commit message, lint, format and spelling checks on every pull request and push to main (.github/workflows/code-quality.yml).
You need Node.js 26 or later and pnpm 12.23.0 (pnpm reads the version from packageManager in package.json).
pnpm install
pnpm lintpnpm install also installs the Git hooks.
| Command | What it does |
|---|---|
pnpm lint |
Runs ESLint, CSpell and the formatting check. |
pnpm lint:fix |
Applies the ESLint and Prettier fixes, then checks spelling. |
pnpm fmt |
Formats every file with Prettier. |
pnpm lint:spelling |
Checks spelling with CSpell. |
pnpm commit |
Writes a commit message with the interactive czg prompt. |