8000 GitHub - ElephantVentures/prettier-config: Simple config to share prettier
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ElephantVentures/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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,
};

About

Simple config to share prettier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0