@combeenation/prettier-config
v2.1.1
Published
> Combeenation [Prettier](https://prettier.io) config.
Readme
@combeenation/prettier-config
Combeenation Prettier config.
Usage
- Install:
$ npm i --save-dev @combeenation/prettier-config - Edit
package.json:{ // ... "prettier": "@combeenation/prettier-config", } - Remove existing prettier config files like
.prettierrc.jsonetc. - Create
.prettierignorewhich could look this this:build/ node_modules/
Overwrite settings
This method does not offer a way to overwrite some properties from the shared configuration.
In order to do so, remove the "prettier" configuration from the package.json and follow examples in the official prettier documentation:
Extending a Sharable Config
Included plugins
This package comes with the following plugins pre-installed:
- @trivago/prettier-plugin-sort-imports
OptionsimportOrderSeparation&importOrderSortSpecifiersare set totrueby default here. - prettier-plugin-tailwindcss
- prettier-plugin-packagejson
- @prettier/plugin-xml
All options provided by those plugin can be adjusted using the method described above in section Overwrite settings.
