1.0.1 • Published 4 years ago

@twgtest/prettier-config v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Prettier config

These are settings for Prettier for tests.

What it does

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 @twgtest/prettier-config

OR

yarn add --dev @twgtest/prettier-config
  1. Usage

Add a key in your package.json file.

"prettier": "@twgtest/prettier-config"

OR

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

"@twgtest/prettier-config"

OR

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

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

4 years ago

1.0.0

4 years ago