1.0.17 • Published 2 months ago

reqprettier v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

✨ reqprettier

Prettier with fully customised configuration for use in any project. Don't hesitate and get your project up and running quickly with Prettier ready.

How to use

You need to install the reqprettier package and make it clear that you need to use this config.

Dependency installation

npm install reqprettier -D # or another package manager

Enabling the configuration

There are 2 options offered here:

1) Via package.json.

In the package.json file, add:

{
  // ...
  "prettier": "reqprettier",
  // ...
}

2) Or you can customise the configuration

The default import of the reqprettier package returns a config. It can be simply installed or extended.

import reqprettierConfig from 'reqprettier'

export default {
  ...reqprettierConfig,
  singleQuote: false,
}

Examples

Javascript

  1. Format code
  2. Sorts and separates imports
1.0.17

2 months ago

1.0.15

2 months ago

1.0.14

2 months ago

1.0.12

2 months ago

1.0.9

2 months ago

1.0.11

2 months ago

1.0.10

2 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago