Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@riotjs/prettier-config

riot37MIT1.1.0

Riot.js prettier config file

prettier, riot, riot.js, config

readme

@riotjs/prettier-config

Build Status NPM version NPM downloads MIT License

Riot default prettier config file

Installation

Peer dependencies installation

npm i -D prettier@2

Config file installation

npm i -D @riotjs/prettier-config

Usage

Set up your .prettierrc.js file as follows:

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