The Unicorns Prettier Shareable Config React
A Prettier Shareable Config for Javascript based projects
Installation
Use the package manager npm or yarn to install it.
Peer Dependencies
Peer dependencies need to be installed in order to make it work properly
"prettier": "^1.19.1"
After that you should install the plugin without any problem
yarn add -D @the-unicorns/prettier-config
Usage
Once the @the-unicorns/prettier-config
package is installed, you can use it by specifying @the-unicorns/prettier-config
in the your .prettierrc
file.
module.exports = {
...require("@the-unicorns/prettier-config"),
semi: false
};
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.