prettier-config-twgtest

A shared Prettier config

Usage no npm install needed!

<script type="module">
  import prettierConfigTwgtest from 'https://cdn.skypack.dev/prettier-config-twgtest';
</script>

README

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

OR

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

Add a key in your package.json file.

"prettier": "prettier-config-twgtest"

OR

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

"prettier-config-twgtest"

OR

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

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