2.0.0 • Published 9 months ago

@orkans/prettier-config v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@orkans/prettier-config v2.0.0

My personal Prettier config.

Usage

Install:

$ npm i @orkans/prettier-config --save-dev

Edit package.json:

{
  // ...
  "prettier": "@orkans/prettier-config"
}

If you don’t want to use package.json, you can use prettier config file to export a string, e.g.:

.prettierrc.json:

"@orkans/prettier-config"

To merge with project specific options:

.prettierrc.js:

module.exports = {
  ...require('@orkans/prettier-config'),
  tabWidth: 4,
  semi: false,
};

Links

Prettier:

Author

Orkan

License

MIT

2.0.0

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago

0.0.1

9 months ago