Skip to content

bearjaws/dotbeautify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotbeautify, uses js-beautify on given directories to automatically formatcode

USEAGE:
var dotBeautify = require('dotbeautify');

dotBeautify.beautify(['./lib/']);

If you want to use it as a pre commit hook and block any unbeautified code,
simply add it to your git pre commit hook with the --pre-commit switch, this
will throw an exception which will block the commit.

All source code will be automatically beautified by js-beautify

Also allows you to pass in second {options} object as defined by
https://github.com/beautify-web/js-beautify#options

About

NPM module to easily beautify directories of source code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published