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

Use taplo to format toml files #7741

Open
FirelightFlagboy opened this issue Jul 18, 2024 · 0 comments
Open

Use taplo to format toml files #7741

FirelightFlagboy opened this issue Jul 18, 2024 · 0 comments

Comments

@FirelightFlagboy
Copy link
Contributor

taplo is a tool used to format toml files.

It's included in the vscode extension tamasfe.even-better-toml

Currently it doesn't have a pre-commit hook, but that worked on tamasfe/taplo#535

But following the promising PR tamasfe/taplo#549

we could use the hook:

  - repo: https://github.com/redeboer/taplo-pre-commit
    rev: v0.9.1rc1
    hooks:
      - id: taplo
@FirelightFlagboy FirelightFlagboy changed the title Use taplo to format toml files Use taplo to format toml files Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant