2.0.3 • Published 14 days ago

@devoxa/prettier-config v2.0.3

Weekly downloads
72
License
MIT
Repository
github
Last release
14 days ago

Installation

yarn add --dev @devoxa/prettier-config prettier typescript

Usage

To enable the rules, add a prettier property in your package.json. See the Prettier configuration docs for more details.

"prettier": "@devoxa/prettier-config"

It is also recommended to add the following scripts to your package.json for easy usage.

"format": "prettier --ignore-path='.gitignore' --list-different --write .",
"format:check": "prettier --ignore-path='.gitignore' --check .",

Additionally, it is recommended to install the VS Code Extension to get in-editor formatting support.

Extending

This configuration is not intended to be changed, but if you have a setup where modification is required, it is possible. To extend a configuration you will need to use a prettier.config.js file that exports an object:

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

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

2.0.3

14 days ago

2.0.2

10 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago