1.0.1 • Published 4 years ago

@digital-wafa/prettier-config v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

wafa prettier conifg

Prettier-config npm version

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 have 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
};

don't forget to delete the prettier property in package.json file.