Skip to content

prettier-config 1.3.2

Install from the command line:
Learn more about npm packages
$ npm install @zestia/prettier-config@1.3.2
Install via package.json:
"@zestia/prettier-config": "1.3.2"

About this version

@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

Add the following to ~/.npmrc to pull @zestia scoped packages from Github instead of NPM.

@zestia:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=<YOUR_GH_TOKEN>

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

Notes

  • prettier-plugin-ember-template-tag for support of .gjs files

Related repos

Details


Assets

  • prettier-config-1.3.2.tgz

Download activity

  • Total downloads 6
  • Last 30 days 6
  • Last week 0
  • Today 0