node-version-usage icon indicating copy to clipboard operation
node-version-usage copied to clipboard

Document the comment support?

Open LitoMore opened this issue 7 months ago • 3 comments

It appears that the .node-version file does not support comments.

How about documenting it in the table?

LitoMore avatar May 17 '25 10:05 LitoMore

It appears that the .node-version file does not support comments.

Yes. I don't think comments are widely supported.

How about documenting it in the table?

I only want to document widely used or widely supported features in the table. (For interest, I was not planning to add "partial" versions but it turned out most implementations did support it.)

Were you hoping comment support was actually common? Do you use something which does support comments in .node-version?

shadowspawn avatar May 17 '25 22:05 shadowspawn

I only use fnm, and it does not support comments.

I was expecting comments in the file since the project practice is to add a license header to all files.

LitoMore avatar May 19 '25 08:05 LitoMore

Useful for REUSE compatibility without an explicit entry in REUSE.toml.

sdavids avatar May 22 '25 12:05 sdavids

I have added some comments about other features which are not widely supported, including "comments" themselves. 😄

https://github.com/shadowspawn/node-version-usage/commit/ad291caf580a94bce1405053dfc1b60119e90c55

shadowspawn avatar Aug 07 '25 23:08 shadowspawn