@ethereumjs/config-prettier
Common formatting configuration for `EthereumJS` libraries.
Last updated 2 years ago by holgerd77 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ethereumjs/config-prettier 
SYNC missed versions from official npm registry.

@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"
  }

Current Tags

  • 1.1.1                                ...           latest (2 years ago)

4 Versions

  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 0
Last Month 5
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |