-
Notifications
You must be signed in to change notification settings - Fork 26
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
Conversation
lb-
commented
Oct 19, 2022
- Resolves Adopt Prettier (JS/SCS/MD formatting) #114
- Relates to Front-end tooling upgrades #151
3127dc1
to
c58ec89
Compare
There was a problem hiding this 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 .", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.\* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting
There was a problem hiding this comment.
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.