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

Create pre-commit hook for TOML taplo formatter #117

Closed
Tracked by #113 ...
redeboer opened this issue Feb 8, 2023 · 1 comment
Closed
Tracked by #113 ...

Create pre-commit hook for TOML taplo formatter #117

redeboer opened this issue Feb 8, 2023 · 1 comment
Assignees
Labels
🖱️ DX Improvements to the Developer Experience

Comments

@redeboer
Copy link
Member

redeboer commented Feb 8, 2023

TOML files can be formatted with https://github.com/tamasfe/taplo, which also works well with VS Code. The hook has to be written for Rust, see https://pre-commit.com/#rust for instructions. Similarly to https://github.com/ComPWA/mirrors-pyright, the hook can be created with pre-commit-mirror-maker.

@redeboer redeboer added the 🖱️ DX Improvements to the Developer Experience label Feb 8, 2023
@redeboer redeboer self-assigned this Feb 8, 2023
@redeboer
Copy link
Member Author

redeboer commented Feb 9, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖱️ DX Improvements to the Developer Experience
Projects
None yet
Development

No branches or pull requests

1 participant