@pyramine/prettier-config
v1.3.17
Published
This packages holds our prettier config
Downloads
16
Readme
Prettier Config
This package holds our pyramine.de Prettier config. It is used to get consistent formatting throughout our projects.
Install
To install this package just run:
npm i -D -E @pyramine/prettier-config
Note: this package only installs the prettier config. You need to install prettier separately.
Configure
To use this configuration with your prettier installation you can simply put this into your package.json
:
{
"prettier": "@pyramine/prettier-config"
}
Alternatively you can also use the prettier.config.js
file:
// just use default config:
module.exports = '@pyramine/prettier-config';
// or if you want to extend the base config (not recomended):
const defaultConfig = require('@pyramine/prettier-config').default;
/** @type {import('prettier').Options} */
module.exports = {
...defaultConfig,
singleQuote: false,
};