🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

prettier-config-smarthr

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-config-smarthr

A sharable prettier config for SmartHR

1.0.1
latest
Source
npm
Version published
Weekly downloads
8.5K
33.01%
Maintainers
0
Weekly downloads
 
Created
Source

prettier-config-smarthr

A sharable prettier config for SmartHR.

Installation

prettier-config-smarthr is available as an npm package.

// with npm
npm install --save-dev prettier-config-smarthr

// with yarn
yarn add --dev prettier-config-smarthr

How to use

Edit package.json.

{
  "name": "your project",
  "prettier": "prettier-config-smarthr"
}

If you don’t want to use package.json, you can use any of the supported extensions to export a string, e.g. .prettierrc.json:

"prettier-config-smarthr"

Check here for details : https://prettier.io/docs/en/configuration.html

How to extend

Create .prettierrc.js , import the file in a .prettierrc.js file and export the modifications.

module.exports = {
  ...require("prettier-config-smarthr"),
  "arrowParens": "avoid",
};

Keywords

prettier

FAQs

Package last updated on 29 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts