@alexaegis/autotool-plugin-prettier
v0.11.6
Published
My prettier config distributor
Downloads
182
Maintainers
Readme
@alexaegis/autotool-plugin-prettier
This plugin provides a very opinionated .prettierrc
and a .prettierignore
definition. Upon installing it it will copy .prettierrc
and .prettierignore
into the root of your workspace and .prettierignore
will also be copied to all
your workspace folders where there isn't. If any of these files are already
defined, it will only overwrite them if they are marked.
Why is there a .prettierignore
in every package?
TODO: https://github.com/prettier/prettier/issues/4081 Once this issue is resolved, change this plugin from adding these prettierignore files to removing them.
When running prettier in a subpackage, it can walk upwards the directory
structure to find its configuration. Stangely enough it can't do the same thing
for .prettierignore
files.