@vbetsch/config-prettier
v1.0.2
Published
My Prettier configuration files
Downloads
541
Readme
@vbetsch/config-prettier
A standardized Prettier configuration for TypeScript projects, ensuring consistent code style and readability across your entire codebase.
🧩 Modules
This package provides several configuration modules that can be composed to fit your project's needs:
| Module | Description |
|----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|
| base | Core Prettier rules (single quotes, 100-character line width, etc.). |
🏗️ Installation
We recommend using Node version lts/krypton -> v24.14.1.
Install the NPM package in your project:
npm install -D @vbetsch/config-prettier🚀 Getting started
To use these configurations, import them into your flat .prettierrc.mjs file:
// NOTE: You can name imports like you want
import baseVbetsch from '@vbetsch/config-prettier';
export default {
...baseVbetsch,
};Check out the vbetsch/lib-config-ts-test repository for a live integration example.
🤝 Contributing
Please refer to the Root README for contribution guidelines.
