Tool Kit plugin to format your source code with [Prettier](https://prettier.io).
npm install @dotcom-tool-kit/prettierTool Kit plugin to format your source code with Prettier.
Install @dotcom-tool-kit/prettier as a devDependency in your app:
``sh`
npm install --save-dev @dotcom-tool-kit/prettier
Add the plugin to your Tool Kit configuration:
`yaml`
plugins:
- '@dotcom-tool-kit/prettier'
Format files with prettier.
#### Task options
| Property | Description | Type | Default |
| :----------- | :---------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------ | :------------------------- |
| files | glob pattern of files to run Prettier on. | Array | ["*/.{js,jsx,ts,tsx}"] |configFile
| | path to a Prettier config file to use. Uses Prettier's built-in config resolution by default. | string | |ignoreFile
| | path to a Prettier ignore file. | string | '.prettierignore'` |
_All properties are optional._