New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@getty.io/taskapp

Package Overview
Dependencies
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getty.io/taskapp

Getty/IO commit-msg hook validator

  • 1.2.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-96.87%
Maintainers
6
Weekly downloads
 
Created
Source

Getty/IO Commit Message Validator.

This package provides you a binary that you can use as a git hook to validate the commit message using the Getty/IO commit standard.

The Getty/IO commit standard should have a the following format:

git commit -m <scope>: <subtask or title>, task: <url>, spent: <time spent e.g. 2h or 2h30m>

Commit Requirements

scope: can be one of ['chore', 'docs', 'feat', 'fix', 'refactor', 'style', 'test']
task: trello task url
spent: time spent on the task or subtask with the format 1h or 1h30m.  

E.g.

git commit -m "feat: add commit validation, task: https://trello.com/c/hfVM9KNV/add-validation-rules, spent: 2h"

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:

1. Install husky
npm install husky@beta --save-dev
2. Install this package as one of your project's devDependencies
npm install @getty.io/taskapp --save-dev

or

yarn add @getty.io/taskapp --dev
3. Add husky hook in package.json
{
  "husky": {
    "hooks": {
    	"commit-msg": "taskapp"
    }
  }
}

Keywords

FAQs

Package last updated on 15 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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