1.1.0 • Published 11 months ago

@elephantventures/prettier-config v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Setup

This just exports a config so you still need to install prettier as normal

    npm i -D prettier @elephantventures/prettier-config

Usage

Then just reference this config in your package.json

 {
     "name": "blah",
     "prettier": "@elephantventures/prettier-config"
 }

OR create a .prettierrc.json and export a string

"@elephantventures/prettier-config"

Extend and overwrite

If you want to extend and overwrite the configuration

import companyPrettierConfig from '@elephantventures/prettier-config'

export defaul {
    ...companyPrettierConfig,
    semi: false,
};
1.1.0

11 months ago

1.0.1

2 years ago

1.0.0

2 years ago