Skip to content

calvium/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calvium Prettier Config

To use this:

npm i --save-dev @calvium/prettier-config

Then add in your package.json

{
    "name": "your-project",
    "prettier": "@calvium/prettier-config",
    ...
}

or for more flexibility create a .prettierrc.js file with this content:

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

Also you need to install prettier in your project

npm i --save-dev prettier