-
Notifications
You must be signed in to change notification settings - Fork 40
chore: replace prettier with dprint #273
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
Conversation
scripts/check_unstaged.sh
Outdated
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.
not technically needed, can remove
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.
Let's remove it then.
- name: Check formatting | ||
run: yarn format:check | ||
uses: dprint/check@v2.2 |
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.
"deprecated/*" | ||
], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/markdown-0.17.0.wasm", |
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.
How do we keep these updated? I don't think dependabot supports this.
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.
Currently there isn't any automated way, but apparently warning about outdated plugin versions is on the roadmap.
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.
That's awesome 😎.
Is packages.json still required as there is no node anymore? |
missed removing that, but it can also go |
Trying out https://github.com/dprint/dprint for formatting instead of prettier.
Also threw in
shfmt
for good measure.Note:
Dockerfile.$TAG -> $TAG.Dockerfile
due to an existing issue with dprint-plugin-dockerfile