Comment on What is the best file format for configuration file?
pileghoff@programming.dev 10 months ago
I usually use Json5. It’s JSON, but with all the weird quirks fixed (comments added, you can use hex numbers, you can have trailing commas etc.)
10nica@hexbear.net 10 months ago
Oh that’s interesting. Wonder how many libraries out there support it…
kersplort@programming.dev 10 months ago
I don’t know if it’s actual json5, but eslint and some other libraries use extended, commentable json in their config files.