Comment on What is the best file format for configuration file?
pileghoff@programming.dev 1 year 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.)
Comment on What is the best file format for configuration file?
pileghoff@programming.dev 1 year 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 1 year ago
Oh that’s interesting. Wonder how many libraries out there support it…
kersplort@programming.dev 1 year ago
I don’t know if it’s actual json5, but eslint and some other libraries use extended, commentable json in their config files.