1.2.8 • Published 1 year ago

@os-team/prettier-config v1.2.8

Weekly downloads
8
License
MIT
Repository
-
Last release
1 year ago

@os-team/prettier-config NPM version

Prettier config. Contains properties for using single quotes instead of double quotes.

Installation

Prerequisites

Install the exact version (-E) of prettier in devDependencies (-D) using the following command:

yarn add -DE prettier

Step 1. Install the package

Install the exact version (-E) of the package in devDependencies (-D) using the following command:

yarn add -DE @os-team/prettier-config

Step 2. Add the config

The way you add the prettier config to your project depends on whether you want to override some properties or not.

Option 1. Using the default config

Create the .prettierrc file with the following content

"@os-team/prettier-config"

Option 2. Overriding some properties

Create the .prettierrc.js file with the following content

module.exports = {
  ...require('@os-team/prettier-config'),
  semi: false,
};

In this example, you are overriding the semi property.

1.2.0

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.11

2 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.2

5 years ago