File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,14 @@ Example of commit with multiple changes: \
25
25
26
26
## Quickstart
27
27
28
- 1 . Just add this for your husky hooks in ` package.json ` :
28
+ 1 . Install plugin here: \
29
+ ` yarn add @eigenspace/commit-linter --dev `
30
+
31
+ or
32
+
33
+ ` npm install @eigenspace/commit-linter --dev `
34
+
35
+ 2 . Just add this for your husky hooks in ` package.json ` :
29
36
```
30
37
...
31
38
"husky": {
@@ -38,12 +45,12 @@ Example of commit with multiple changes: \
38
45
...
39
46
```
40
47
41
- 2 . Add `.commit-linter.config.json` in the root of your project and set your issue prefixes:
48
+ 3 . Add `.commit-linter.config.json` in the root of your project and set your issue prefixes:
42
49
```
43
50
{
44
- "extends": "@eigenspace/commit-linter/.commit-linter.config.json",
51
+ "extends": "./node_modules/ @eigenspace/commit-linter/.commit-linter.base .config.json",
45
52
"issuePrefixes": [
46
- "TAX/[a-z- ]+"
53
+ "TAX-[\d ]+"
47
54
]
48
55
}
49
56
```
You can’t perform that action at this time.
0 commit comments