0.0.5 • Published 3 years ago
@cosmwallet/config-format v0.0.5
@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"
}
0.0.5
3 years ago