@digital-wafa/prettier-config

1.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @digital-wafa/prettier-config

Weekly Downloads

10

Version

1.0.1

License

MIT

Unpacked Size

27 kB

Total Files

5

Last publish

Collaborators

  • b.anass
  • jmounim