Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Weekly downloads
5.4K
decreased by-31.53%
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc