Skip to content

Latest commit

 

History

History

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Prettier Config

prettier shareable config for opinionated code formatter.

Install

yarn add prettier @linters/prettier-config -D

Usage

The shareable config can be configured in the prettier configuration file:

Create a .prettierrc.js file with the following contents:

module.exports = require('@linters/prettier-config')