@commitlint/types
Advanced tools
Comparing version 12.0.0 to 12.0.1
@@ -6,2 +6,14 @@ # Change Log | ||
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) | ||
### Bug Fixes | ||
* **load:** use `Rule | AsyncRule | SyncRule` as rule value type in `Plugin` ([#2146](https://github.com/conventional-changelog/commitlint/issues/2146)) ([75b67b8](https://github.com/conventional-changelog/commitlint/commit/75b67b8fb7fc4df21267b98f0c9daeeb1130b824)) | ||
* **types:** correct chalkColor type ([#2420](https://github.com/conventional-changelog/commitlint/issues/2420)) ([ef8bdad](https://github.com/conventional-changelog/commitlint/commit/ef8bdad96c9ee7c3ad67f8280818c7f49c1df1fe)) | ||
# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) | ||
@@ -8,0 +20,0 @@ |
@@ -20,3 +20,3 @@ import chalk from 'chalk'; | ||
} | ||
export declare type ChalkColor = keyof typeof chalk; | ||
export declare type ChalkColor = typeof chalk.Color | typeof chalk.Modifiers; | ||
export interface FormatOptions { | ||
@@ -23,0 +23,0 @@ color?: boolean; |
@@ -1,6 +0,6 @@ | ||
import { Rule, RulesConfig, RuleConfigQuality } from './rules'; | ||
import { Rule, RulesConfig, RuleConfigQuality, AsyncRule, SyncRule } from './rules'; | ||
export declare type PluginRecords = Record<string, Plugin>; | ||
export interface Plugin { | ||
rules: { | ||
[ruleName: string]: Rule<unknown>; | ||
[ruleName: string]: Rule | AsyncRule | SyncRule; | ||
}; | ||
@@ -7,0 +7,0 @@ } |
{ | ||
"name": "@commitlint/types", | ||
"version": "12.0.0", | ||
"version": "12.0.1", | ||
"description": "Shared types for commitlint packages", | ||
@@ -33,5 +33,5 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@commitlint/utils": "^12.0.0" | ||
"@commitlint/utils": "^12.0.1" | ||
}, | ||
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" | ||
"gitHead": "610d2911bea066c87700155de3bf5bbecf266a8d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27751