/prettier-rator

🔨 CLI to generate a Prettier file config for your editor

Primary LanguageJavaScriptMIT LicenseMIT

prettier-rator

CLI to generate a Prettier file config for each text editor plugin

Why?

There's no prettier configuration file (like .eslintrc) to share along your projects, text editors, and/or your team

How?

Just insert your custom parameters and it will generate a file for each text editor (plugin) and a general config file:

What?

I saw an early and big adoption and wanted to make it more easy to use

Install

$ npm install --global prettier-rator

Usage

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

NPM Dependencies

  • readline-sync
  • commander
  • jsonfile
  • chalk

License

MIT