@ethereumjs/config-prettier

1.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ethereumjs/config-prettier

Weekly Downloads

48

Version

1.1.1

License

MIT

Unpacked Size

1.4 kB

Total Files

5

Last publish

Collaborators

  • acolytec3
  • g11tech
  • axic
  • holgerd77