@arnaud-zg/configs
v0.4.0
Published
Shareable dev-tooling configs: ESLint, Prettier, tsconfig, tsdown, Lefthook, remark, and commitlint.
Maintainers
Readme
@arnaud-zg/configs
Shareable dev-tooling configs (ESLint, Prettier, tsconfig, tsdown, Lefthook, remark, and commitlint) bundled as a single package with subpath exports. Install what you need; every peer dependency is optional.
I built this to stop copy-pasting the same ESLint/Prettier/tsconfig/Lefthook setup into every one of my projects.
Looking for the Claude Code plugins and Agent Skills? They moved to arnaud-zg/skills, which uses this package for all its tooling.
pnpm add -D @arnaud-zg/[email protected]Always pin the exact version above (not a range like ^x.y.z, and not latest), so an update to
this package only reaches your project when you deliberately bump it. This repo follows semver, but
that's a promise about intent, not a guarantee: you can't know what a future version will contain
until you've read it. Never trust a dependency by default, including this one. Pin the exact version
you've actually reviewed, and only move to a newer one after reviewing that too.
🔒 Security: know what you're installing
This section is prevention, not paranoia about this package specifically: it's the same due
diligence you should apply to any dependency, and it applies most here because
@arnaud-zg/configs/lefthook/* runs shell commands on your machine on every commit/push. I have no
intention of shipping anything malicious, but intent isn't a security control, verification is.
Don't install anything, from me or anyone else, that you haven't verified yourself.
- Read every file for the subpath you install before you install it, especially
lefthook/lefthook.yml. Don't take this README's word for what a config does, or anyone else's. - Understand each line, not just skim it. If something isn't clear, that's a stop sign, not a detail to gloss over: open an issue and ask, I'm happy to explain or fix it.
- Ask an AI assistant to review the files for security risk before installing, a second, fast pass on top of your own read.
- Pin the exact version you reviewed (see above), and repeat this review before ever bumping it. A version you haven't read is not a version you've verified, no matter who published it.
📚 Documentation
- 🚀 Tutorial: new here? A hands-on walkthrough that wires up ESLint, Prettier, and a tsconfig from scratch.
- 🛠️ How-to guides: task-based recipes for linting React code, picking a tsconfig variant, configuring a tsdown build, adding Git hooks, linting Markdown, running the test suite, and releasing a new version.
- 📖 Reference: the exports map, peer dependencies, tsconfig variants, and package layout.
- 💡 Explanation: why the package is structured this way, one package
versus five, optional peers, no build step, the
${configDir}limitation, and more.
🧰 What's inside
| Subpath | What it is |
| ------------------------------------ | ------------------------------------------------ |
| @arnaud-zg/configs/eslint | ESLint 9 flat config (+ /react variant) |
| @arnaud-zg/configs/prettier | Prettier config with import sorting |
| @arnaud-zg/configs/tsconfig/*.json | 11 tsconfig variants to extend |
| @arnaud-zg/configs/tsdown | Shared tsdown build defaults |
| @arnaud-zg/configs/lefthook/* | Shared Lefthook base (commit-msg via commitlint) |
| @arnaud-zg/configs/remark | remark-lint recommended preset |
| @arnaud-zg/configs/commitlint | Conventional Commits, mandatory scope |
🤖 Claude Code plugins and Agent Skills
They live in arnaud-zg/skills, including
hexagonal-skill-builder, a linter for Agent Skills (SKILL.md):
/plugin marketplace add arnaud-zg/skills
/plugin install arnaud-zg@arnaud-zg-skillsIf you still have the old arnaud-zg marketplace from this repository, it no longer resolves: run
/plugin marketplace remove arnaud-zg and add arnaud-zg/skills as above.
License
MIT
