prettier-config-smarthr

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i prettier-config-smarthr

Weekly Downloads

9,186

Version

1.0.1

License

MIT

Unpacked Size

3.39 kB

Total Files

5

Last publish

Collaborators

  • nabeliwo
  • atsushim
  • im36.123
  • smarthr-dev
  • cidermitaina
  • meganemura
  • wmoai
  • diescake
  • moshisora
  • tokky0425
  • hawaiiman
  • smarthr-admin
  • yamamoto-yuta
  • otapo
  • kuny
  • alpaca-tc
  • ackndev
  • shingo.sasaki
  • kesteer
  • yamish123
  • chick-p
  • uknmr
  • yuki_snow1823