1.0.10 • Published 1 year ago

@zestia/prettier-config v1.0.10

Weekly downloads
50
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.8-1

2 years ago

1.0.8-0

2 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.6

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago