1.0.0 • Published 2 years ago

@mizdra/prettier-config-mizdra v1.0.0

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

@mizdra/prettier-config-mizdra

Shareable Prettier Config for @mizdra

Install

yarn add -D @mizdra/prettier-config-mizdra prettier

Usage

If you have written the prettier configuration in package.json:

{
  "name": "your-app",
  "version": "0.0.1",
  "prettier": "@mizdra/prettier-config-mizdra"
}

If you have written the prettier configuration in .prettierrc.json:

"@mizdra/prettier-config-mizdra"

If you have written the prettier configuration in .prettierrc.js:

module.exports = {
  ...require('@mizdra/prettier-config-mizdra'),
  // You can override the options of a shared prettier
  // configuration in `.prettierrc.js`
  semi: false,
};

How to release (for Contributor)

$ # Wait for passing CI...
$ git switch main
$ git pull
$ yarn version
$ npm publish
$ git push --follow-tags