@evilmartians/lefthook-installer 1.2.1 → 1.2.3
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/README.md +9 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ See:
|
|
|
57
57
|
## Why Lefthook
|
|
58
58
|
|
|
59
59
|
* ### **Parallel execution**
|
|
60
|
-
Gives you more speed. [Example](./docs/
|
|
60
|
+
Gives you more speed. [Example](./docs/configuration.md#parallel)
|
|
61
61
|
|
|
62
62
|
```yml
|
|
63
63
|
pre-push:
|
|
@@ -65,7 +65,7 @@ pre-push:
|
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
* ### **Flexible list of files**
|
|
68
|
-
If you want your own list. [Custom](./docs/
|
|
68
|
+
If you want your own list. [Custom](./docs/configuration.md#files) and [prebuilt](./docs/configuration.md#run) examples.
|
|
69
69
|
|
|
70
70
|
```yml
|
|
71
71
|
pre-commit:
|
|
@@ -105,7 +105,7 @@ pre-commit:
|
|
|
105
105
|
|
|
106
106
|
* ### **Run scripts**
|
|
107
107
|
|
|
108
|
-
If oneline commands are not enough, you can execute files. [Example](./docs/
|
|
108
|
+
If oneline commands are not enough, you can execute files. [Example](./docs/configuration.md#script).
|
|
109
109
|
|
|
110
110
|
```yml
|
|
111
111
|
commit-msg:
|
|
@@ -115,7 +115,7 @@ commit-msg:
|
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
* ### **Tags**
|
|
118
|
-
If you want to control a group of commands. [Example](./docs/
|
|
118
|
+
If you want to control a group of commands. [Example](./docs/configuration.md#tags).
|
|
119
119
|
|
|
120
120
|
```yml
|
|
121
121
|
pre-push:
|
|
@@ -130,7 +130,7 @@ pre-push:
|
|
|
130
130
|
|
|
131
131
|
* ### **Support Docker**
|
|
132
132
|
|
|
133
|
-
If you are in the Docker environment. [Example](./docs/
|
|
133
|
+
If you are in the Docker environment. [Example](./docs/configuration.md#cmd-template).
|
|
134
134
|
|
|
135
135
|
```yml
|
|
136
136
|
pre-commit:
|
|
@@ -141,7 +141,7 @@ pre-commit:
|
|
|
141
141
|
|
|
142
142
|
* ### **Local config**
|
|
143
143
|
|
|
144
|
-
If you a frontend/backend developer and want to skip unnecessary commands or override something into Docker. [Description](./docs/
|
|
144
|
+
If you a frontend/backend developer and want to skip unnecessary commands or override something into Docker. [Description](./docs/usage.md#local-config).
|
|
145
145
|
|
|
146
146
|
```yml
|
|
147
147
|
# lefthook-local.yml
|
|
@@ -178,7 +178,9 @@ $ lefthook run fixer
|
|
|
178
178
|
```
|
|
179
179
|
|
|
180
180
|
* ### **Optional output**
|
|
181
|
-
|
|
181
|
+
|
|
182
|
+
If you [don't want to see](./docs/configuration.md#skip_output) supporting information:
|
|
183
|
+
|
|
182
184
|
```yml
|
|
183
185
|
skip_output:
|
|
184
186
|
- meta #(version and which hook running)
|