0.0.1 • Published 5 years ago

@eigi/prettier-config v0.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

@eigi/prettier-config

A Prettier configuration for EIGI apps

Installation

With global Verdaccio registry

# for consumption outside of `uaf-main`, you can get Prettier config from our Verdaccio registry
yarn set registry http://verdaccio.dev.provo1.unifiedlayer.com

yarn add @eigi/prettier-config --dev

With Lerna

# if you are in the `uaf-main` mono-repo, use lerna to install it in your scoped package
lerna add @eigi/prettier-config --dev --scope=my-pkg

Installation with .yarnrc

For consumption outside of uaf-main, you can get Prettier config from our Verdaccio registry. Add the following to your root .yarnrc configuration file:

registry "https://registry.npmjs.org"
"@eigi:registry" "http://verdaccio.dev.provo1.unifiedlayer.com"
yarn add @eigi/prettier-config --dev

Usage

As is

To consume the Prettier config as is, you can create a prettier.config.js file at your project root and export the config as follows:

module.exports = require('@eigi/prettier-config');

Support

This package is maintained by Team 418.