Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marking npm module as deprecated in favour of Prettier's --check option #11

Open
kachkaev opened this issue Jan 24, 2019 · 0 comments
Open

Comments

@kachkaev
Copy link

kachkaev commented Jan 24, 2019

Hi @pomber and @n1ru4l! πŸ‘‹ Thanks for your work on this package – I've been using it in all my projects for over a year after seeing prettier-check one day in Apollo Server's package.json. A few weeks ago, I decided to add the --check to Prettier's CLI and this new flag eventually became a part of version 1.16 (see their blog post).

It is now possible to replace prettier-check with prettier --check in package.json scripts section and then run yarn remove prettier-check. All will work as before, but there'll be fewer dependencies to install (see prettier/prettier#5520 for some stats).

WDYT of deprecating this package to encourage people to switch to the --check flag? You can do this with the following command:

npm deprecate prettier-check 'Use "prettier --check" instead of "prettier-check" (available since Prettier 1.16)'

The repo's description or README.md can also get a similar message at the top.

Many thanks for your work again! Your module really helped a lot of teams to get their code formatting done right! πŸ™Œ πŸ‘

@kachkaev kachkaev changed the title Marking npm module as deprecated in favour of Prettier's --check options Marking npm module as deprecated in favour of Prettier's --check option Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant