@somehow-digital/commitlint-plugin-spellcheck
Advanced tools
+1
-1
| { | ||
| "name": "@somehow-digital/commitlint-plugin-spellcheck", | ||
| "description": "Spellcheck commit messages via `cspell`.", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "license": "MIT", | ||
@@ -6,0 +6,0 @@ "type": "module", |
+6
-6
@@ -20,3 +20,3 @@ import { spellCheckDocument } from 'cspell-lib'; | ||
| rules: { | ||
| header: async ({ header }) => { | ||
| 'spellcheck/header': async ({ header }) => { | ||
| const result = await check(header); | ||
@@ -26,3 +26,3 @@ | ||
| }, | ||
| body: async ({ body }) => { | ||
| 'spellcheck/body': async ({ body }) => { | ||
| const result = await check(body); | ||
@@ -32,3 +32,3 @@ | ||
| }, | ||
| footer: async ({ footer }) => { | ||
| 'spellcheck/footer': async ({ footer }) => { | ||
| const result = await check(footer); | ||
@@ -38,3 +38,3 @@ | ||
| }, | ||
| scope: async ({ scope }) => { | ||
| 'spellcheck/scope': async ({ scope }) => { | ||
| const result = await check(scope); | ||
@@ -44,3 +44,3 @@ | ||
| }, | ||
| subject: async ({ subject }) => { | ||
| 'spellcheck/subject': async ({ subject }) => { | ||
| const result = await check(subject); | ||
@@ -50,3 +50,3 @@ | ||
| }, | ||
| type: async ({ type }) => { | ||
| 'spellcheck/type': async ({ type }) => { | ||
| const result = await check(type); | ||
@@ -53,0 +53,0 @@ |
2795
2.87%