# @plasma-platform/tm-message-hook

> Check commit message format

Latest version **2.0.14** (published 2019-03-15) · CC-BY-4.0 license · 0 weekly downloads

## Install

```sh
npm install @plasma-platform/tm-message-hook
pnpm add @plasma-platform/tm-message-hook
yarn add @plasma-platform/tm-message-hook
bun add @plasma-platform/tm-message-hook
```

Provides the command `commit-msg`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.14 |
| Published | 2019-03-15 |
| First published | 2017-10-11 |
| Weekly downloads | 0 |
| License | CC-BY-4.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Anton Nemtsev |
| Maintainers | akond, arnie_petrosian, balaniuk, ch-tm, kyrylovoronoi, lven, mice-tm, shaggrath, silentimp, stevenreed, viram |

## Links

- npm: https://www.npmjs.com/package/@plasma-platform/tm-message-hook
- Repository: https://gitlab.com/TemplateMonster/PlasmaPlatform/Frontend/tm-message-hook
- npm.io page: https://npm.io/package/@plasma-platform/tm-message-hook

## Dependencies (1)

- [command-line-args](https://npm.io/package/command-line-args.md) ^4.0.7

## Recent versions

- 2.0.14 (latest) — 2019-03-15
- 2.0.13 — 2019-03-15
- 2.0.12 — 2018-02-02
- 2.0.11 — 2017-11-28
- 2.0.10 — 2017-11-28
- 2.0.9 — 2017-11-28
- 2.0.8 — 2017-11-28
- 2.0.7 — 2017-11-28
- 2.0.6 — 2017-11-28
- 2.0.5 — 2017-11-18
- 2.0.4 — 2017-11-18
- 2.0.3 — 2017-11-18
- 2.0.2 — 2017-11-18
- 2.0.1 — 2017-11-17
- 1.0.3 — 2017-11-02
- … 3 more at https://npm.io/package/@plasma-platform/tm-message-hook/versions

## README

# Commit message format checker

Use inside **package.json** with **husky** like this:

```
  …
  "scripts": {
    "commitmsg": "commit-msg ${GIT_PARAMS} -r (^[A-Z]+-[0-9]+\s-\s[\W\w\s]{5,}[\s]*$|^lock[\s]*$|^((m|M)erge[\w\W\s]*)|^[\d]+(.[\d]+)?(.[\d]+)?[\s]*$)"
  },
  …
```

---
_Source: https://npm.io/package/@plasma-platform/tm-message-hook · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
