m-sureshraj / prettier-config

⚙️ Shared Prettier config for my projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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,
};

About

⚙️ Shared Prettier config for my projects


Languages

Language:JavaScript 100.0%