Skip to content

arbetsmyra/prettier-config

Repository files navigation

Arbetsmyra's Prettier config

latest git version latest npm version license

Installation

Requirements

  • node >= v10
  • npm >= v5
  • prettier >= v1.9
npm install --save-dev prettier @arbetsmyra/prettier-config

Usage

Once the @arbetsmyra/prettier-config package is installed, you can use it by specifying the @arbetsmyra/prettier-config config for the prettier property in the package.json.

{
  "prettier": "@arbetsmyra/prettier-config"
}

It is recommended to add the following scripts to your package.json:

{
  "prettier:check": "prettier --check .",
  "prettier:write": "prettier --write ."
}

Contributing

If you want to contribute and make our project better, your help is very welcome.

License

MIT © Arbetsmyra