Respect editorconfig instead needing to use `--use-tabs`
Instead of relying on the user to manually use --use-tabs or useTabs, can this tool respect an existing .editorconfig's configuration as prettier itself, does?
Good idea. Is there a package that will parse prettier and editorconfig files that can be used?
Prettier uses cosmiconfig for configuration file support.
Source: https://prettier.io/docs/en/configuration.html
There doesn't seem to be a "one package fits all" for this scenario. Prettier uses a combination of cosmiconfig for its own configuration file and editorconfig for its handling of .editorconfig files.
I recently added cosmiconfig, I can look into editorconfig. Of course, contributions are welcome too!