📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

@ethereumjs/config-prettier

Package Overview
Dependencies
Maintainers
9
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethereumjs/config-prettier

Common formatting configuration for `EthereumJS` libraries.

1.1.1
latest
Source
npm
Version published
Weekly downloads
141
2.17%
Maintainers
9
Weekly downloads
 
Created
Source

@ethereumjs/config-prettier

Common formatting configuration for EthereumJS libraries.

Tool: Prettier

Supported Version: ^1.15.3

Exposed CLI commands:

  • ethereumjs-config-format
  • ethereumjs-config-format-fix

Usage

Add prettier.config.js:

module.exports = require('@ethereumjs/config-prettier')

Add .prettierignore:

node_modules
.vscode
package.json
dist
.nyc_output

Use CLI commands above in package.json:

  "scripts": {
    "format": "ethereumjs-config-format",
    "format-fix": "ethereumjs-config-format-fix"
  }

FAQs

Package last updated on 13 Feb 2019

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