@sureshraj/prettier-config

1.0.0 • Public • Published

prettier-config

Shared Prettier config for my projects.

Install

npm install -D @sureshraj/prettier-config

Usage

A prettier key in your package.json file.

{
  "prettier": "@sureshraj/prettier-config"
}

OR

Use the prettier.config.js file if you need to extend the configuration to overwrite some properties from the shared configuration. Refer to the official guide for more information.

// prettier.config.js
const sharedConfig = require('@sureshraj/prettier-config');
 
module.exports = {
  ...sharedConfig,
  semi: false,
};

Readme

Keywords

none

Package Sidebar

Install

npm i @sureshraj/prettier-config

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.52 kB

Total Files

3

Last publish

Collaborators

  • sureshraj