@vkontakte/prettier-config

0.2.1 • Public • Published

VK Prettier Config

This is a shared config file for Prettier from VK. This package is used to avoid duplicating the config file between repositories.

yarn add -D prettier @vkontakte/prettier-config

package.json:

{
  "prettier": "@vkontakte/prettier-config"
}

createConfig

createConfig function takes only one optional argument printWidth, if your project needs to change the width of the lines. 100 is a default value.

prettier.config.mjs:

import { createConfig } from './index.js';

export default createConfig(80);

Package Sidebar

Install

npm i @vkontakte/prettier-config

Weekly Downloads

679

Version

0.2.1

License

MIT

Unpacked Size

4.03 kB

Total Files

10

Last publish

Collaborators

  • sklv_r
  • vitaliy.podlubnyak
  • adeltsareva
  • v.kirichenko
  • vkarelin
  • gbowsky
  • pa.koshkin
  • vkcom
  • k.egor.smirnov
  • vkcom-publisher
  • terdenan
  • captain__bamboo