This package has been deprecated

Author message:

This package is deprecated. Use @simenandre/prettier instead.

@cobraz/prettier

2.0.2 • Public • Published

@cobraz/prettier

Reusable prettier config

Installation

npm i -D @cobraz/prettier

or

yarn add --dev @cobraz/prettier

Usage

Add a key in your package.json file.

"prettier": "@cobraz/prettier"

OR

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

"@cobraz/prettier"

OR

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

module.exports = {
  ...require("@cobraz/prettier"),
  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

Weekly Downloads

48

Version

2.0.2

License

Apache-2.0

Unpacked Size

13.6 kB

Total Files

10

Last publish

Collaborators

  • simenandre