@constvarlet/prettier-config

1.0.1 • Public • Published

A shared Prettier config

Installation

yarn add --dev @constvarlet/prettier-config

Usage

  1. package.json
{
  "prettier": "@constvarlet/prettier-config"
}
  1. prettier.config.js
module.exports = {
  ...require("@constvarlet/prettier-config");

  // ...
}

Options

default parser is typescript

If you using only javascript just add js

{
  "prettier": "@constvarlet/prettier-config/js"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @constvarlet/prettier-config

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

1.34 kB

Total Files

5

Last publish

Collaborators

  • bang9