@antisoda/prettier-config
v1.1.0
Published
A shareable Prettier preset configuration
Downloads
195
Readme
@antisoda/prettier-config
Shareable Prettier configuration with opinionated formatting preferences.
Usage
npm install --save-dev @antisoda/prettier-config prettier
Add a reference to this configuration in your package.json
file to set it up:
+ "prettier": "@antisoda/prettier-config",
If you want to add more plugins, or extend the configuration, you will need to extend a JavaScript configuration file,
rather than the prettier
field in package.json
:
/** @see https://prettier.io/docs/en/configuration.html */
import preset from '@antisoda/prettier-config'
export default {
...preset,
// override or extend
}