Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(config): support TOML configuration files #4877
In order to support
Update 29/7/2018: This PR adds support for
changed the title
[WIP] Add support for TOML in configuration files (.prettierrc.toml)
Jul 29, 2018
I'll let other maintainers to decide if we should merge it as I hesitate about adding another config format. If someone wants to add support for other format later, what should we do?
I'm thinking of if we should make loaders be part of plugins so that people can use whatever format they want.
As linked in #4845:
Some reasons why TOML is better than YAML for configuration files: https://arp242.net/weblog/yaml_probably_not_so_great_after_all.html
Some arguments against JSON as a configuration language: https://www.lucidchart.com/techblog/2018/07/16/why-json-isnt-a-good-configuration-language/