Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocument recommended setup #7828
Open
Labels
Comments
|
This is could also be relevant for leveraging as the default present for |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that Prettier 2.0 has been released with its improved CLI, I think we should add a section do the docs showing a recommended example setup.
{}) .prettierrc.json to signify to editor extensions that your project is using Prettier (with default settings).*.html. Mention that this lets both editor extensions and the Prettier CLI know that you don’t want HTML files to be formatted, unlike putting a glob in some npm script or Makefile.prettier --write .when you want to bulk format everything.prettier --check .in CI.I think we should also de-emphasize eslint-plugin-prettier.
prettier --check .is so easy that you don’t really simplify your configuration by putting Prettier in your ESLint setup.