@commitlint/execute-rule
Advanced tools
Comparing version 17.0.0 to 17.4.0
@@ -1,7 +0,7 @@ | ||
declare type Rule<T> = readonly [string, Config<T>]; | ||
declare type Config<T> = T | Promise<T> | ExectableConfig<T>; | ||
declare type ExectableConfig<T> = (() => T) | (() => Promise<T>); | ||
declare type ExecutedRule<T> = readonly [string, T]; | ||
type Rule<T> = readonly [string, Config<T>]; | ||
type Config<T> = T | Promise<T> | ExectableConfig<T>; | ||
type ExectableConfig<T> = (() => T) | (() => Promise<T>); | ||
type ExecutedRule<T> = readonly [string, T]; | ||
export default execute; | ||
export declare function execute<T = unknown>(rule?: Rule<T>): Promise<ExecutedRule<T> | null>; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@commitlint/execute-rule", | ||
"version": "17.0.0", | ||
"version": "17.4.0", | ||
"description": "Lint your commit messages", | ||
@@ -38,5 +38,5 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@commitlint/utils": "^17.0.0" | ||
"@commitlint/utils": "^17.4.0" | ||
}, | ||
"gitHead": "ed437d29464ab1b239deecb84ce4d1f2a5e471c6" | ||
"gitHead": "7b0f7e805818944ab9fa42c52b6858211bbf2a66" | ||
} |
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
3963
6