Skip to content

dre1080/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dre1080 Prettier Config

npm (scoped)

A sharable prettier config object.

Install

Install prettier and @dre1080/prettier-config:

With Yarn

$ yarn add --dev prettier @dre1080/prettier-config

With npm

$ npm install prettier @dre1080/prettier-config --save-dev

Usage

Add the prettier key to your package.json:

"prettier": "@dre1080/prettier-config"

or create a .prettierrc.js with the following contents:

module.exports = {
  ...require("@dre1080/prettier-config"),
};

Check out the prettier documentation for more info on sharing configurations.

About

A sharable Prettier config object.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published