Opinionated prettier config


002.1.0a year ago3 years agoMinified + gzip package size for @graham42/prettier-config in KB


Prettier Config

Prettier is an awesome tool, however I have a preference for some config that differs from the defaults. My reasoning is fully explained in the config file.


Run this command to install and configure prettier:

npx @graham42/prettier-config

or if you are writing es5 code run:

npx @graham42/prettier-config --es5

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.