0.1.0 • Published 3 years ago

@mizdra/prettier-config v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@mizdra/prettier-config

Shareable Prettier Config for @mizdra

Install

yarn add -D @mizdra/prettier-config prettier

Usage

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

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

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

"@mizdra/prettier-config"

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

module.exports = {
  ...require('@mizdra/prettier-config'),
  // 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 master
$ git pull
$ yarn version
$ npm run build
$ npm publish
$ git push --follow-tags