Miss any of our Open RFC calls?Watch the recordings here! »

@vtex/prettier-config

0.3.1 • Public • Published

@vtex/prettier-config

This package provides VTEX's .prettierrc shared config.

Installation

Give that you already have prettier installed, run:

yarn add -D @vtex/prettier-config

Usage

After installing the module, add it to your .prettierrc configuration file:

"@vtex/prettier-config"

Or add it to your package.json:

{
  ...
  "prettier": "@vtex/prettier-config"
  ...
}

Differently from eslint, prettier shared presets are not extensible, so if you want to override some property, which is not encouraged, you'll need to use the .prettierrc.js file.

For more information about configuring prettier, please check the Prettier configuration documentation.

References

Keywords

none

Install

npm i @vtex/prettier-config

DownloadsWeekly Downloads

1,093

Version

0.3.1

License

MIT

Unpacked Size

4.49 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar