1.0.3 • Published 4 years ago

@siturra/prettier-config v1.0.3

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

Personal Prettier config

My personal Prettier config.

Usage

Install

using npm

npm install --save-dev @siturra/prettier-config

or yarn

yarn add --dev @siturra/prettier-config

Add prettier

add in package.json

"prettier": "@siturra/prettier-config"

OR

Create a .prettierrc , .prettierrc.yaml , .prettierrc.yml or .prettierrc.json file and export a string.

"@siturra/prettier-config"

OR

Note: This method does not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a prettier.config.js or .prettierrc.js file and export the modifications, e.g:

module.exports = {
  ...require('@siturra/prettier-config'),
  semi: false
}

References

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago