@cspell/dict-git

3.0.0 • Public • Published

CSpell Git Configuration

Configuration for spell checking Git Commit messages.

Requirements

Tool Version
cspell >= 6
Code Spell Checker - Visual Studio Code >= 2

Installation

Global Install and add to cspell global settings.

npm install -g @cspell/dict-git
cspell link add @cspell/dict-git

Uninstall from cspell

cspell link remove @cspell/dict-git

Manual Installation

The cspell-ext.json file in this package should be added to the import section in your cspell.json file.

{
    // …
    "import": ["@cspell/dict-git/cspell-ext.json"],
    // …
}

Usage commit-msg

.git/hooks/commit-msg

#!/bin/sh

exec npx cspell --language-id commit-msg $1

License

MIT

Some packages may have other licenses included.

Package Sidebar

Install

npm i @cspell/dict-git

Weekly Downloads

408,547

Version

3.0.0

License

MIT

Unpacked Size

6.12 kB

Total Files

4

Last publish

Collaborators

  • jason-dent