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

Adopt Prettier (code formatting) #157

Merged
merged 3 commits into from
Oct 20, 2022

Conversation

lb-
Copy link
Member

@lb- lb- commented Oct 19, 2022

@lb- lb- mentioned this pull request Oct 19, 2022
Copy link
Member

@thibaudcolas thibaudcolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! One thing I think we could consider revisit, let me know what you think @lb-.

"start": "webpack --mode=development --watch --progress",
"build": "webpack --mode=production",
"format": "prettier --write .",
"lint:format": "prettier --check .",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note I think this won’t process dotfiles (.gitpod.yml). If we wanted this we’d need a more complex pattern like the one we use in Wagtail.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh ok - I always wondered why you did that.

Have raised #162 for an improvement.

- Python >= 3.9
- Poetry
- Git
- Node 16.\*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah true, I did not even look at that - not sure why Prettier changed this.

@thibaudcolas thibaudcolas merged commit afc630f into wagtail:main Oct 20, 2022
@thibaudcolas thibaudcolas added this to the Before launch milestone Oct 20, 2022
@lb- lb- deleted the feaature/114-adopt-prettier branch October 20, 2022 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Adopt Prettier (JS/SCS/MD formatting)
2 participants