@arbetsmyra/prettier-config

Arbetsmyra's Prettier config

Usage no npm install needed!

<script type="module">
  import arbetsmyraPrettierConfig from 'https://cdn.skypack.dev/@arbetsmyra/prettier-config';
</script>

README

prettier-config

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