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

Format code with Prettier? #305

Closed
KyleAMathews opened this issue Mar 18, 2017 · 2 comments
Closed

Format code with Prettier? #305

KyleAMathews opened this issue Mar 18, 2017 · 2 comments

Comments

@KyleAMathews
Copy link
Contributor

Any interest in setting up a format npm script? I've been using it recently for my projects and ❤️ it.

React just recently switched over to it as have a number of other projects.

Helps standardize your code formatting far more than ESlint does. Also really fun with editor integration as you don't have to fiddle with spacing and other formatting concerns with your code. You just bang out something ugly, save, and it'll be prettified.

https://github.com/prettier/prettier

@erquhart
Copy link
Contributor

Makes sense. Interested to see how things would come out on first run.

@erquhart erquhart added the p3 label Mar 20, 2017
@erquhart
Copy link
Contributor

Closing in favor of #363, prettier being included in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants