We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a259014 commit 1dc2f40Copy full SHA for 1dc2f40
docs/guides-local-setup.md
@@ -45,6 +45,19 @@ Using `commit-msg` gives us exactly what we want: It is executed whenever a new
45
46
## Test
47
48
+### Test simple usage
49
+
50
+For a first simple usage test of commlitlint you can do the following:
51
52
+```bash
53
+npx commitlint --from HEAD~1 --to HEAD --verbose
54
+```
55
56
+This will check your last commit and return an error if invalid or a positive output if valid.
57
58
59
+### Test the hook
60
61
You can test the hook by simply committing. You should see something like this if everything works.
62
63
```bash
0 commit comments