0.2.2 • Published 2 years ago
prettier-config-monots v0.2.2
prettier-config-monots
This package provides the default prettier configuration used within the monots codebase.
Installation
yarn add prettier-config-monots
Usage
In your package.json
files add the following configuration
{
"name": "my-cool-library",
"version": "0.0.0",
"prettier": "prettier-config-monots"
}
If you don't want to use package.json
, you can use any of the supported prettier extensions to export a string, e.g. .prettierrc.json
:
"prettier-config-monots"
If you would like to extend the provided configuration with your own tweaks you will need to import this project into your own .prettierrc.js
file and export the modifications.
module.exports = {
...require('prettier-config-monots'),
semi: false,
};