@ethima/commitlint-config 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/package.json +7 -6
- package/src/index.js +3 -5
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethima/commitlint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "A shareable Commitlint configuration for the Ethima organization",
|
|
5
5
|
"main": "src/index.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "ava"
|
|
8
9
|
},
|
|
@@ -22,12 +23,12 @@
|
|
|
22
23
|
},
|
|
23
24
|
"homepage": "https://gitlab.com/ethima/commitlint-config",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@commitlint/config-conventional": "
|
|
26
|
-
"@commitlint/is-ignored": "
|
|
26
|
+
"@commitlint/config-conventional": "19.5.0",
|
|
27
|
+
"@commitlint/is-ignored": "19.5.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"@commitlint/lint": "
|
|
30
|
-
"@commitlint/load": "
|
|
31
|
-
"ava": "6.0
|
|
30
|
+
"@commitlint/lint": "19.5.0",
|
|
31
|
+
"@commitlint/load": "19.5.0",
|
|
32
|
+
"ava": "6.2.0"
|
|
32
33
|
}
|
|
33
34
|
}
|
package/src/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
wildcards: defaultIgnoreFunctions,
|
|
4
|
-
} = require("@commitlint/is-ignored/lib/defaults");
|
|
1
|
+
import baseConfiguration from "@commitlint/config-conventional/lib/index.js";
|
|
2
|
+
import { wildcards as defaultIgnoreFunctions } from "@commitlint/is-ignored/lib/defaults.js";
|
|
5
3
|
|
|
6
4
|
const footnoteMatcher = new RegExp("^\\[\\^.+?\\]:");
|
|
7
5
|
|
|
@@ -53,7 +51,7 @@ const configurationSpecificIgnoreFunctions = [
|
|
|
53
51
|
semanticReleaseCommitMatcher.test.bind(semanticReleaseCommitMatcher),
|
|
54
52
|
];
|
|
55
53
|
|
|
56
|
-
|
|
54
|
+
export default {
|
|
57
55
|
// Do not use the default ignore patterns as they allow patterns, e.g.
|
|
58
56
|
// `fixup!` and `squash!` commits, that should be blocked in the workflows
|
|
59
57
|
// primarily supported by this configuration
|