Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

STORIS/prettier-config

Repository files navigation

@storis/prettier-config

This package contains the standard prettier configurations for JavaScript and TypeScript packages used by STORIS.

Installation

@storis/prettier-config is available as an npm package.

npm install @storis/prettier-config

Usage

Peer dependencies

The package relies on prettier as a peer dependency. You must ensure that a compatible version of the necessary peer dependency has been installed.

Configuration

Add the following to package.json:

{
  "prettier": "@storis/prettier-config",
}

or modify the .prettierrc.js file:

const storisConfig = require('@storis/prettier-config);

module.exports = {
  ...storisConfig,
  ...
}

License

This project is licensed under the terms of the MIT license.