Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fatso83/check-commit-msg

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fatso83/check-commit-msg - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

check-commit-msg.js

@@ -23,3 +23,3 @@ /* eslint-disable no-console */

if (!commitMsg.match(/^[a-zA-Z]{2,4}-\d{1,5} /)) {
if (!commitMsg.match(/^[a-zA-Z]{2,6}-\d{1,5} /)) {
errors.push(

@@ -26,0 +26,0 @@ 'Commit messages should be prefixed with the github issue number, i.e. "GH-637 Update design of ListView"'

{
"name": "@fatso83/check-commit-msg",
"version": "0.1.0",
"version": "0.2.0",
"bin": "./cli.js",

@@ -5,0 +5,0 @@ "description": "Check if your commit message follows Chris Beam's \"Seven rules of a good commit message\"",

@@ -22,5 +22,6 @@ # @fatso83/check-commit-msg

npm install -g @fatso83/check-commit-msg
echo > .git/hooks/commit-msg << EOF
echo << 'EOF' > .git/hooks/commit-msg
check-commit-msg $1
EOF
chmod +x .git/hooks/commit-msg #make it executable
```

@@ -27,0 +28,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc