@alexaegis/autotool-plugin-prettier
TypeScript icon, indicating that this package has built-in type declarations

0.11.4 • Public • Published

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: 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.

/@alexaegis/autotool-plugin-prettier/

    Package Sidebar

    Install

    npm i @alexaegis/autotool-plugin-prettier

    Weekly Downloads

    1

    Version

    0.11.4

    License

    MIT

    Unpacked Size

    17.9 kB

    Total Files

    17

    Last publish

    Collaborators

    • alexaegis