@zazen/prettier-config
v1.1.0
Published
Apply a consistent code style, free of weariness and confusion
Downloads
85
Readme
@zazen/prettier-config
Usage
npm install --save-dev prettier @zazen/prettier-config
Add the following to your package.json
:
"prettier": "@zazen/prettier-config",
To extend the configuration, create prettier.config.js
and spread this config
onto your own config object:
import zazenConfig from '@zazen/prettier-config'
/** @type {import('prettier').Config} */
const config = {
...zazenConfig,
experimentalTernaries: true,
}
export default config