Like A Duck@programming.dev to Experienced Devs@programming.dev • 1 year agoWhat is the best file format for configuration file?message-squaremessage-square27 fedilinkarrow-up123file-text
arrow-up123message-squareWhat is the best file format for configuration file?Like A Duck@programming.dev to Experienced Devs@programming.dev • 1 year agomessage-square27 Commentsfedilinkfile-text
minus-squarepileghoff@programming.devhexbear17·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.) linkfedilink
minus-square10nica [comrade/them]hexbear3·1 year agoOh that's interesting. Wonder how many libraries out there support it... link
minus-squarekersplort@programming.devhexbear1·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. linkfedilink
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.