Prettier shareable config used by QuITS mx
- Prettier
^3.3.3(recommended:3.9.xfor improved stability and bug fixes)
Install it as a devDependency with the appropriate command for your package manager.
Example:
pnpm add @quitsmx/prettier-config -DThis 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%.
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 configThe MIT License © 2025 QuITS