Skip to content

Prettier config to be shared across company's Javascript projects

Notifications You must be signed in to change notification settings

Shiphero/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ShipHero's common prettier configuration

This repository serves as a common prettier configuration that may be shared across multiple Javascript projects within the company.

Usage

If you want to use ShipHero's prettier config in your Javascript project, follow below steps:

  1. Add dev dependency in your project's package.json:
{
  "@shiphero/prettier-config": "github:shiphero/prettier-config"
}
  1. Create prettier.config.js file in the root directory of your project containing:
module.exports = require('@shiphero/prettier-config')

You can also overwrite our rules when needed:

module.exports = {
  ...require('@shiphero/prettier-config'),
  // your custom set of rules goes here
}

About

Prettier config to be shared across company's Javascript projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published