This package has been deprecated

Author message:

Moved to GitHub Packages

@zestia/prettier-config

1.0.10 • Public • Published

@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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @zestia/prettier-config

    Weekly Downloads

    22

    Version

    1.0.10

    License

    ISC

    Unpacked Size

    2.59 kB

    Total Files

    7

    Last publish

    Collaborators

    • philliphaines
    • amk221