Skip to content

nilzona/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@nilzona/prettier-config

Use this in projects to get a simple and coherent prettier experience.

info

This config is very simple. The only difference from the default config is:

"printWidth": 120,

and it adds two prettier plugins

"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-packagejson"]

These plugins organize imports and package.json entries in alphabetic order.

usage

install package as a dev dependency with your favourite package manager. E.g.

npm install -d @nilzona/prettier-config

and reference it in package.json

{
  "name": "my-project",
  "version": "888.0.1",
  "prettier": "@nilzona/prettier-config"
}

more instructions on shared prettier configs can be found here

About

Prettier config to share between projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published