Skip to content

Conversation

@stefnotch
Copy link
Contributor

This is what it'd look like if we switched to tombi. I'm leaving a few comments in interesting places.

echo 'To fix toml fmt, please run `tombi fmt`.'
echo 'You can find taplo here: http://tombi-toml.github.io/tombi/.'
echo 'Also use the `Tombi` extension.'
echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tombi-toml.tombi'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should open an upstream issue about the Tombi VSCode extension not always inserting a newline at the end of the file when formatting it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be respecting .editorconfig

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tombi-toml/tombi#934

Okay, there's now an upstream issue about this. Turns out I didn't have to open one, I just had to wait

@stefnotch stefnotch requested a review from k2d222 September 9, 2025 21:57
Cargo.toml Outdated
license = "MIT OR Apache-2.0"
repository = "https://github.com/wgsl-tooling-wg/wesl-rs"
version = "0.2.0"
authors = ["Mathis Brossier <mathis.brossier@gmail.com>", "WESL Contributors"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it sorting the authors? if possible, I'd like the other way around.
Not crucial, but author order matters.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out that the authors field got deprecated and I didn't get a memo

rust-lang/cargo#15068

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woah, that's unexpected! I don't understand the move, I mean it's a crucial piece of information. We'd have to provide it in some other way I guess.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm still debating where that info goes. Does it go in the LICENSE file? Is the fact that GitHub tracks the contributors good enough? Or does it go somewhere else?

@stefnotch
Copy link
Contributor Author

This should now be ready, it only took a few tweaks to Tombi :)

with:
config: '.markdownlint.jsonc'
globs: '**/*.md'
config: ".markdownlint.jsonc"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI, double quotes in YAML have different semantics than single quotes. It's like writing format!("X") instead of just "X".

@k2d222 k2d222 merged commit bc2b4c1 into main Sep 10, 2025
13 checks passed
@k2d222 k2d222 deleted the try-tombi branch September 10, 2025 20:23
@k2d222
Copy link
Collaborator

k2d222 commented Sep 10, 2025

Thanks @stefnotch 💯

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.

4 participants