commitlint-plugin-cspell
Advanced tools
Comparing version
import type { Plugin } from '@commitlint/types'; | ||
import type { RemoveIndex } from '@webdeveric/utils/types/records'; | ||
export type RemoveIndex<T> = { | ||
[K in keyof T as symbol extends K ? never : string extends K ? never : number extends K ? never : K]: T[K]; | ||
}; | ||
export type CommitLintRule = Plugin['rules'][string]; | ||
@@ -4,0 +6,0 @@ export type RuleParameters = Parameters<CommitLintRule>; |
{ | ||
"name": "commitlint-plugin-cspell", | ||
"description": "Spellcheck your commit messages with CSpell", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"keywords": [ | ||
@@ -20,2 +20,3 @@ "commitlint", | ||
"license": "MIT", | ||
"packageManager": "pnpm@9.6.0+sha256.dae0f7e822c56b20979bb5965e3b73b8bdabb6b8b8ef121da6d857508599ca35", | ||
"sideEffects": false, | ||
@@ -35,10 +36,24 @@ "type": "module", | ||
], | ||
"scripts": { | ||
"clean": "rimraf ./dist/", | ||
"prebuild": "pnpm clean", | ||
"build": "tsc --build tsconfig.mjs.json --force", | ||
"validate": "validate-package-exports --check --verify --info", | ||
"postbuild": "pnpm validate", | ||
"typecheck": "tsc --build --verbose", | ||
"lint": "eslint ./*.{js,cjs,mjs,ts,cts,mts} ./src/ ./test/ --ext .ts,.mjs,.cjs", | ||
"test": "vitest", | ||
"coverage": "vitest run -c vitest.config.mts --coverage", | ||
"spellcheck": "cspell './{.github,src,test}/**/*.{ts,json}' './*.{js,json,md,mjs,mts}' './package.json' --no-progress", | ||
"prepublishOnly": "pnpm typecheck && pnpm spellcheck && pnpm lint && pnpm coverage && pnpm build", | ||
"format": "prettier --write ./*.{js,json,md,mjs,mts} ./src/ ./test/", | ||
"prepare": "husky" | ||
}, | ||
"prettier": "@webdeveric/prettier-config", | ||
"dependencies": { | ||
"@commitlint/types": "^19.0.3", | ||
"@webdeveric/utils": "^0.32.0", | ||
"cspell-lib": "^8.12.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.14.12", | ||
"@types/node": "^22.0.0", | ||
"@vitest/coverage-v8": "^2.0.4", | ||
@@ -56,2 +71,3 @@ "@webdeveric/eslint-config-ts": "^0.8.0", | ||
"rimraf": "^6.0.1", | ||
"semantic-release": "^24.0.0", | ||
"typescript": "^5.5.4", | ||
@@ -63,16 +79,3 @@ "validate-package-exports": "^0.6.0", | ||
"@commitlint/lint": ">=7.6.0" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf ./dist/", | ||
"prebuild": "pnpm clean", | ||
"build": "tsc --build tsconfig.mjs.json --force", | ||
"validate": "validate-package-exports --check --verify --info", | ||
"postbuild": "pnpm validate", | ||
"typecheck": "tsc --build --verbose", | ||
"lint": "eslint ./*.{js,cjs,mjs,ts,cts,mts} ./src/ ./test/ --ext .ts,.mjs,.cjs", | ||
"test": "vitest", | ||
"coverage": "vitest run -c vitest.config.mts --coverage", | ||
"spellcheck": "cspell './{.github,src,test}/**/*.{ts,json}' './*.{js,json,md,mjs,mts}' './package.json' --no-progress", | ||
"format": "prettier --write ./*.{js,json,md,mjs,mts} ./src/ ./test/" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10032
4.78%3
-25%56
3.7%17
6.25%- Removed
- Removed
- Removed
- Removed