1.0.0 • Published 3 years ago

@edgelogistics/prettier-config-backend-nodejs-typescript v1.0.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

A shared Prettier config

Installation

To install this package run the following command in the terminal in the root directory of your application.

npm install --save-dev @edgelogistics/prettier-config-backend-nodejs-typescript

OR

yarn add --dev @edgelogistics/prettier-config-backend-nodejs-typescript

Usage

Add a key in your package.json file.

"prettier": "@edgelogistics/prettier-config-backend-nodejs-typescript"

OR

Create a .prettierrc , .prettierrc.yaml , .prettierrc.yml or .prettierrc.json file and export a string.

"@edgelogistics/prettier-config-backend-nodejs-typescript"

OR

Create a prettier.config.js or .prettierrc.js file and export an object.

module.exports = {
  ...require("@edgelogistics/prettier-config-backend-nodejs-typescript"),
  // endOfLine: 'lf', // to overwrite the property
};