1.0.10 • Published 2 years ago

@zestia/prettier-config v1.0.10

Weekly downloads
50
License
ISC
Repository
github
Last release
2 years ago

@zestia/prettier-config

This package provides a common Prettier configuration, so that all projects have consistent code formatting.

Installation

npm install --save-dev @zestia/prettier-config

Setup

  1. Create the following file .prettierrc.js

    module.exports = require('@zestia/prettier-config');
  2. Add the following to scripts in package.json

    "prettier": "prettier '**/*.{js,json,css,scss,html,hbs,md}' --write"
  3. Install the relevant Editor Addon/Plugin and enable "Prettier on Save".

Running

npm run prettier

Related repos

1.0.10

2 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.8-1

3 years ago

1.0.8-0

3 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

7 years ago