Like A Duck to Experienced Devs@programming.dev • 1 year agoWhat is the best file format for configuration file?message-square47fedilinkarrow-up142arrow-down10file-text
arrow-up142arrow-down1message-squareWhat is the best file format for configuration file?Like A Duck to Experienced Devs@programming.dev • 1 year agomessage-square47fedilinkfile-text
minus-square@pileghoff@programming.devlinkfedilink21•1 year agoI 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.)
minus-square10nica [comrade/them]linkfedilinkEnglish3•1 year agoOh that’s interesting. Wonder how many libraries out there support it…
minus-square@kersplort@programming.devlinkfedilink1•1 year agoI don’t know if it’s actual json5, but eslint and some other libraries use extended, commentable json in their config files.
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.)
Oh that’s interesting. Wonder how many libraries out there support it…
I don’t know if it’s actual json5, but eslint and some other libraries use extended, commentable json in their config files.