Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

kufu/prettier-config-smarthr

Repository files navigation

prettier-config-smarthr

A sharable prettier config for SmartHR.

Information

This repository has been archived.
The project has been moved to kufu/tamatebako/packages/prettier-config-smarthr and is being actively maintained there.


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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published