2.0.0 • Published 3 months ago

@di-strix/prettier-config v2.0.0

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

An Andrew Ushakov's prettier config

Installation

npm i --save-dev @di-strix/prettier-config

Usage


package.json

Add this line to your package.json file

{
  ...
+ "prettier": "@di-strix/prettier-config",
  ...
}

prettierrc.js

Export a single line from the file

module.exports = '@di-strix/prettier-config'

.prettierrc

Paste a single line to the file

"@di-strix/prettier-config"