CLI to generate a Prettier file config for each text editor plugin
There's no prettier configuration file (like .eslintrc) to share along your projects, text editors, and/or your team
Just insert your custom parameters and it will generate a file for each text editor (plugin) and a general config file:
- General Configuration (matching the official API)
- Visual Studio Code (prettier-vscode)
- Sublime Text (JsPrettier)
- And more to come...
I saw an early and big adoption and wanted to make it more easy to use
$ npm install --global prettier-rator
Go to your project folder and run
$ prettier-rator -c
Your configuration files will be generated under the configs
folder
- General Configuration (API):
prettierconfig.json
- Sublime Text:
JsPrettier.sublime-settings
- Visual Studio Code:
settings.json
- readline-sync
- commander
- jsonfile
- chalk
MIT