Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

VKCOM/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

To get started, you will need a configured Prettier and a `.prettierrc.js' file in the root of the repository:

.prettierrc.js:

module.exports = require('@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.

module.exports = require('@vkontakte/prettier-config').createConfig(80);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published