Skip to content

Update to prettier 0.23.0 when it's released #709

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

Closed
tmcw opened this issue Apr 10, 2017 · 4 comments
Closed

Update to prettier 0.23.0 when it's released #709

tmcw opened this issue Apr 10, 2017 · 4 comments
Labels

Comments

@tmcw
Copy link
Member

tmcw commented Apr 10, 2017

I've been standardizing on prettier on all projects. I should use it here.

@tmcw
Copy link
Member Author

tmcw commented Apr 10, 2017

This is unfortunately taking longer than expected - estimate was ~20 minutes, looking like ~1hr. Ran into this bug around types as well as a tricky gotcha with the syntax.input.js test fixture, which is invalid JavaScript and should be ignored by prettier.

@tmcw
Copy link
Member Author

tmcw commented Apr 10, 2017

Also ran into this bug around double comments

@tmcw
Copy link
Member Author

tmcw commented Apr 10, 2017

Going to keep this issue open - prettier 0.23.0 will fix both bugs, and I will remove the workaround in server.js when I upgrade.

tmcw added a commit that referenced this issue Apr 10, 2017
This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs #709
tmcw added a commit that referenced this issue Apr 10, 2017
This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs #709
tmcw added a commit that referenced this issue Apr 10, 2017
This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs #709
tmcw added a commit that referenced this issue Apr 10, 2017
This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs #709
tmcw added a commit that referenced this issue Apr 10, 2017
* style(prettier): Use prettier for code formatting

This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs #709
@tmcw tmcw changed the title Use prettier Update to prettier 0.23.0 when it's released Apr 10, 2017
@tmcw tmcw added upstream and removed enhancement labels Apr 10, 2017
tmcw added a commit to documentationjs/gulp-documentation that referenced this issue Apr 10, 2017
Also fixes the position of the GreenKeeper badge in the README

Refs documentationjs/documentation#709 the main issue for documentation
@tmcw
Copy link
Member Author

tmcw commented Apr 13, 2017

prettier 1.0.0 is released! Switching to it.

tmcw added a commit that referenced this issue Apr 13, 2017
@tmcw tmcw modified the milestone: beta20 Apr 13, 2017
tmcw added a commit that referenced this issue May 2, 2017
We're switching to Flow annotations - not Flow comments. This
gives documentation.js the ability to self-document without
JSDoc types and improves our compatibility with tools like
prettier.

Fixes #729. Fixes #709
tmcw added a commit that referenced this issue May 9, 2017
We're switching to Flow annotations - not Flow comments. This
gives documentation.js the ability to self-document without
JSDoc types and improves our compatibility with tools like
prettier.

Fixes #729. Fixes #709
@tmcw tmcw closed this as completed in #767 May 9, 2017
tmcw added a commit that referenced this issue May 9, 2017
* build: Use Flow syntax without comments.

We're switching to Flow annotations - not Flow comments. This
gives documentation.js the ability to self-document without
JSDoc types and improves our compatibility with tools like
prettier.

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

No branches or pull requests

1 participant