@quitsmx/prettier-config
v4.0.3
Published
QuITS MX default Prettier configuration
Downloads
725
Readme
@quitsmx/prettier-config
Prettier shareable config used by QuITS mx
Requirements
- Prettier
^3.3.3(recommended:3.9.xfor improved stability and bug fixes)
Install
Install it as a devDependency with the appropriate command for your package manager.
Example:
pnpm add @quitsmx/prettier-config -DImportant Changes (v4)
This configuration introduces two breaking changes that affect all projects:
printWidth: Now uses Prettier's default value of 80 (previously 92), better suited for limited screen space alongside AI chat panels and IDE minimaps.Markdown tables: Tables exceeding
printWidthare now formatted in compact style (proseWrap: never), compatible with markdownlint MD060 default settings.
We recommend implementing these changes in a single commit once your project's tests pass at 100%.
Use It
In package.json:
{
"name": "my-cool-library",
"version": "1.0.0",
"prettier": "@quitsmx/prettier-config"
}In a supported configuration file like prettier.config.mjs, where you can override rules if you wish:
import commonConfig from '@quitsmx/prettier-config'
/**
* @type {import("prettier").Config}
*/
const config = {
...commonConfig,
// Override any rule as needed
}
export default configLicense
The MIT License © 2025 QuITS
