@flureejs/config-format
v0.1.5
Published
Common formatting configuration for `FlureeJS` libraries.
Downloads
13
Readme
@flureejs/config-format
Common formatting configuration for FlureeJS
libraries.
Tool: Prettier
Exposed CLI commands:
flureejs-config-format
flureejs-config-format-fix
Usage
Add prettier.config.js
:
module.exports = require('@flureejs/config-format');
Add .prettierignore
:
node_modules
.vscode
package.json
dist
.nyc_output
Use CLI commands above in package.json
:
"scripts": {
"format": "flureejs-config-format",
"format-fix": "flureejs-config-format-fix"
}