Skip to content

mancuoj/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@mancuoj/prettier-config

npm version npm downloads License

Usage

A CLI tool to help you set up your project with prettier.

pnpm dlx @mancuoj/prettier-config
Manual Install
pnpm i -D prettier @mancuoj/prettier-config

And add the following to your package.json:

{
  "scripts": {
    "format": "prettier -w ."
  },
  "prettier": "@mancuoj/prettier-config"
}

Features

  • 2 spaces
  • No semicolons
  • Single quotes
  • Trailing commas
  • 100 print width
  • Ignore common files

License

MIT License © 2024-PRESENT Mancuoj

About

@mancuoj's Prettier Config

Resources

License

Stars

Watchers

Forks

Contributors