1.0.8 • Published 3 years ago
@repeale/prettier-config v1.0.8
Prettier Config
Getting started
Install the package and related peerDependencies as devDependencies:
npm install --save-dev @repeale/prettier-config prettieror
yarn add --dev @repeale/prettier-config prettierReference @repeale/prettier-config in your package.json:
{
"name": "my-project",
"version": "1.0.0",
"prettier": "@repeale/prettier-config"
}or export the config from a .prettierrc.js file:
module.exports = {
...require('@repeale/prettier-config'),
}this will allow you to easilly overwrite options.
Or, you can use it in other ways as described in the official documentation.
Config
Check the .prettierrc.json file if you want to inspect the configuration.