Socket
Book a DemoInstallSign in
Socket

@pwa/plugin-prettier

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pwa/plugin-prettier

> [`PWA`](https://pwa.cafe/) plugin for [Prettier](https://prettier.io/)

latest
npmnpm
Version
0.5.0
Version published
Maintainers
2
Created
Source

@pwa/plugin-prettier

PWA plugin for Prettier

Install

$ npm install --save-dev @pwa/plugin-prettier prettier

Usage

None – recognized by and attached to @pwa/core automatically!

Config

Configurable via the prettier key on your pwa.config.js file.

By default, Prettier's configuration files are supported and applied automatically:

  • .prettierrc
  • prettier.config.js
  • package.json's "prettier" key
  • .prettierignore

Note: Prettier options passed to pwa.config.js directly will override config files' values.

Default Config:

exports.prettier = {
  parser: 'babel'
}

Available Options:

See Prettier's Options

FAQs

Package last updated on 31 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts