Skip to content

Latest commit

 

History

History

autotool-plugin-prettier

npm ci codacy

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: prettier/prettier#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.