Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vkontakte/prettier-config

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vkontakte/prettier-config

Prettier config from VK

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
816
increased by27.3%
Maintainers
0
Weekly downloads
 
Created
Source

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);

Keywords

FAQs

Package last updated on 13 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc