Skip to content

Conversation

@jnk22
Copy link
Contributor

@jnk22 jnk22 commented Nov 2, 2025

I added a config for Tombi.

image

Notes

  • There is an offline mode available with the --offline option. I have not seen this being used by any other formatter, therefore I did not use this for Tombi.
  • Tombi uses the filename for extra diagnostics. Is getting the input via stdin generally preferable? If so, this could be done similar to what perlimports.lua does, but using it without seems more straightforward.

Resolves #836

@jnk22 jnk22 force-pushed the add-toml-linter-tombi branch from 23bd654 to 8f56a8b Compare November 2, 2025 21:53
@jnk22 jnk22 force-pushed the add-toml-linter-tombi branch from 8f56a8b to ef45623 Compare November 2, 2025 22:33
@mfussenegger mfussenegger merged commit c317afe into mfussenegger:master Nov 6, 2025
3 checks passed
@mfussenegger
Copy link
Owner

Tombi uses the filename for extra diagnostics. Is getting the input via stdin generally preferable?

Generally yes, because it gives users more flexibility in how to use the linter - not just on save, but on unsaved content too.

But starting without stdin is also fine. If people want to have stdin support the linter can always be extended.

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

Successfully merging this pull request may close these issues.

[Feature request] Add tombi linter (toml)

2 participants