Skip to content

stephane-tessier/commit-sanitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Commit Sanitizer

Commit Sanitizer is a set of scripts and a pre-commit hook for git that performs some actions to clean and sanitize code before commit in Git.

The hook-commit is customizable and we can enable/disable features regarding to the different kind of projects.

Actions

  • Convert tabs to spaces (1 tab = 2 spaces)
  • Convert EOL to CRLF
  • Lint code :
  • jslint/jshint
  • php -l
  • coffee -l
  • java -1
  • css lint (saas / less)

About

Commit Sanitizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published