Provides Prettier support by dynamically generating a
prettier.config.js config file.
- Prettier ^2.0.0
Can be listened to on the
|Called before the ignore file is written.|
In your configuration module, install the driver and Prettier.
Create a file at
js) in which to house your Prettier configuration.
In your consuming project, enable the driver by adding
prettier to your
Instead of using an
.prettierignore dotfile, you can define an
ignore property in your
configs/prettier.ts file, or a project's
This property accepts an array of strings. For example:
This feature follows the same configuration lifecycle as
prettier.config.js, with the added
benefit of conditional logic, and being generated at runtime!