![wafa prettier conifg](https://github.com/digital-wafa/prettier-config/raw/HEAD/images/logo.png)
Prettier-config
A shared prettier configuration to use in digital wafa projects
Installation
npm install --save-dev prettier @digital-wafa/prettier-config
Usage
Add a prettier
property in your package.json
. See the Configuration docs.
"prettier": "@digital-wafa/prettier-config"
Extending
If you find yourself in the situation where you have to change This configuration, here is how to do it.
To extend a configuration you hava to create a prettier.config.js
or .prettierrc.js
file like the example below:
module.exports = {
...require('@digital-wafa/prettier-config'),
"useTabs": false,
"semi": true
};