This package has been deprecated

Author message:

Use @cobraz/prettier instead

@cobraz/prettier-config

1.0.1 • Public • Published

@cobraz/prettier-config

Reusable prettier config

Installation

npm i -D @cobraz/prettier-config

or

yarn add --dev @cobraz/prettier-config

Usage

Add a key in your package.json file.

"prettier": "@cobraz/prettier-config"

OR

Create a .prettierrc , .prettierrc.yaml , .prettierrc.yml or .prettierrc.json file and export a string.

"@cobraz/prettier-config"

OR

Create a prettier.config.js or .prettierrc.js file and export an object.

module.exports = {
  ...require("@cobraz/prettier-config"),
  tabWidth: 2,
};

Thanks

Most of this code is based on https://github.com/devsht/prettier-config.

Readme

Keywords

none

Package Sidebar

Install

npm i @cobraz/prettier-config

Weekly Downloads

7

Version

1.0.1

License

Apache-2.0

Unpacked Size

13.3 kB

Total Files

9

Last publish

Collaborators

  • simenandre