Skip to content

aufdenpunkt/pre-commit-js-beautify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JS Beautify for pre-commit

JS Beautify for pre-commit>=2.7.1.

For pre-commit: see https://github.com/pre-commit/pre-commit

For JS Beautify: see https://github.com/beautify-web/js-beautify

Using JS Beautify with pre-commit

Add this to your .pre-commit-config.yaml:

-   repo: https://github.com/aufdenpunkt/pre-commit-js-beautify
    rev: 1.13.0 # represents the used version of JS Beautify as well
    hooks:
    -   id: js-beautify
        args: [] # list of arguments like '--editorconfig', '--end-with-newline', '--wrap-attributes=auto', '--wrap-line-length=120'

About

Integration of JS Beautifier with pre-commit

Resources

License

Stars

Watchers

Forks

Packages

No packages published