What is pre-commit?
pre-commit checks your code for errors before you commit it. pre-commit is configurable.
pre-commit is a tool in the Git Tools category of a tech stack.
pre-commit is an open source tool with 791 GitHub stars and 96 GitHub forks. Here’s a link to pre-commit's open source repository on GitHub
Who uses pre-commit?
Companies
23 companies reportedly use pre-commit in their tech stacks, including SMARTTechStack, GatewayAPI, and reSolve.
Developers
185 developers on StackShare have stated that they use pre-commit.
pre-commit's Features
- debugger: make sure you don't commit a debugger statement
- tabs: make sure your code uses leading spaces instead of tabs
- whitespace: make sure you don't commit trailing whitespace
- jslint: syntax check your javascript before you commit it
- ci: run a quick test suite before you commit
pre-commit Alternatives & Comparisons
What are some alternatives to pre-commit?
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
jQuery
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.