0.2.2 • Published 2 years ago

@planet-matrix/prettier-config v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Prettier config

You should install following packages at the root of your project. If you are using monorepo, you should add -w flag.

ni -D prettier @planet-matrix/prettier-config @ianvs/prettier-plugin-sort-imports

package.json

{
  "scripts": {
    "format": "prettier --cache --write ."
  }
}

.vscode/settings.json

{
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode"
}

Since Prettier 3.0 ignores files specified in .gitignore by default, in most cases you don't need to create a .prettierignore file. But .gitignore files under deep folders in the monorepo are not included.

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago