2 ms·
Use js files for config. They support comments, syntax highlighting will work out of the box, and you can require them.
by nailer 10y ago
Use js files for config. They support comments, syntax highlighting will work out of the box, and you can require them.
- leichtgewicht 10y agoA problem that I have with my article is that readers seem to get hung up on the config loading bits when I tried to use it as an example for a more-general problem. To fix this I added a section to the article: https://t.co/sXJhTYXQvy https://t.co/sXJhTYXQvy (Using executable files for configuration can be an enormous problem for some uses.)
- nailer 10y agoI think it's a poor example. I don't want to choose between 20 different config file formats. Give me a config file in a format I know.