Skip to content

Deguang/devTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

devTool

Some tools for dev

pre-commit

A git pre-commit hook with nodeJs; More info about git hook, please see this document: Git Hooks

file structure

├── pre-commit                  // git hook script
└── pre-commit-installer.js     // the pre-commit hook installer

support check

  • Merge conflicts, forbidden commit;
  • scss compile error, forbidden commit;
  • use elementUi, forbidden commit;

installation

This command depens on nodeJs, check your node environment:

node -v

run this command at the root of project(after git init)

curl https://raw.githubusercontent.com/Deguang/devTool/master/pre-commit-installer.js | node

About

Some tools for dev

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published