best-prettier-config

The best prettier config in the world

Usage no npm install needed!

<script type="module">
  import bestPrettierConfig from 'https://cdn.skypack.dev/best-prettier-config';
</script>

README

best-prettier-config

The best prettier config in the world

I add this file to all my projects, so I made a CLI to make it easier to do so.

npx best-prettier-config

This will write a .prettierrc file with the following contents to your current working directory:

{
  "jsxSingleQuote": true,
  "semi": false,
  "singleQuote": true,
  "trailingComma": "es5"
}

If you really need it, you can also require this module:

const config = require('best-prettier-config')