🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

danger-plugin-commit-lint

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danger-plugin-commit-lint - npm Package Compare versions

Comparing version
0.0.0-rc.3
to
1.0.0
+5
-4
dist/index.d.ts

@@ -1,6 +0,6 @@

import { CommitLintRuleName } from "./types";
import { CommitLintRuleName, CommitLintRuleNameUnion } from "./types";
export interface CommitLintOptions {
warn?: true | CommitLintRuleName[];
fail?: true | CommitLintRuleName[];
disable?: true | CommitLintRuleName[];
warn?: true | Array<CommitLintRuleName | CommitLintRuleNameUnion>;
fail?: true | Array<CommitLintRuleName | CommitLintRuleNameUnion>;
disable?: true | Array<CommitLintRuleName | CommitLintRuleNameUnion>;
}

@@ -11,1 +11,2 @@ /**

export declare function check(options?: CommitLintOptions): void;
export { CommitLintRuleName };

@@ -8,2 +8,4 @@ "use strict";

const SubjectWordsRule_1 = require("./rules/SubjectWordsRule");
const types_1 = require("./types");
exports.CommitLintRuleName = types_1.CommitLintRuleName;
const rules = [

@@ -10,0 +12,0 @@ EmptyLineRule_1.EmptyLineRule,

@@ -8,2 +8,3 @@ export declare enum CommitLintRuleName {

}
export declare type CommitLintRuleNameUnion = keyof typeof CommitLintRuleName;
export interface CommitInfo {

@@ -10,0 +11,0 @@ subject: string;

@@ -24,3 +24,3 @@ {

],
"version": "0.0.0-rc.3",
"version": "1.0.0",
"main": "dist/index.js",

@@ -50,3 +50,3 @@ "types": "dist/index.d.ts",

"danger": "*",
"danger-plugin-commit-lint": "^0.0.0-rc.2",
"danger-plugin-commit-lint": "^0.0.0-rc.3",
"husky": "^1.3.1",

@@ -53,0 +53,0 @@ "jest": "^24.1.0",