Skip to content

homebound-team/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@homebound/prettier-config

Shared Prettier configuration for Homebound projects.

Installation

yarn add -D @homebound/prettier-config prettier

Usage

Add to your package.json:

{
  "prettier": "@homebound/prettier-config"
}

Extending the config

To override settings, create a .prettierrc.js file:

const homeboundConfig = require("@homebound/prettier-config");

module.exports = {
  ...homeboundConfig,
  // your overrides here
};

Configuration

This config includes:

CI Integration

Add a check step to your CI:

prettier --check .

Or format all files:

prettier --write .

About

Shared Prettier configuration for Homebound projects

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors