0.0.5 • Published 3 years ago

@cosmwallet/config-format v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@cosmwallet/config-format

Common formatting configuration for CosmWallet libraries.

Tool: Prettier

Exposed CLI commands:

  • cosmwallet-config-format
  • cosmwallet-config-format-fix

Usage

Add prettier.config.js:

module.exports = require('@cosmwallet/config-format');

Add .prettierignore:

node_modules
.vscode
package.json
dist
.nyc_output

Use CLI commands above in package.json:

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