3
3
``` sh
4
4
❯ npx commitlint --help
5
5
6
- @commitlint/cli@11.0 .0 - Lint your commit messages
6
+ @commitlint/cli@19.3 .0 - Lint your commit messages
7
7
8
8
[input] reads from stdin if --edit, --env, --from and --to are omitted
9
9
@@ -22,6 +22,10 @@ Options:
22
22
-H, --help-url help url in error message [string]
23
23
-f, --from lower end of the commit range to lint; applies if
24
24
edit=false [string]
25
+ --git-log-args additional git log arguments as space separated string,
26
+ example ' --first-parent --cherry-pick' [string]
27
+ -l, --last just analyze the last commit; applies if edit=false
28
+ [boolean]
25
29
-o, --format output format of the results [string]
26
30
-p, --parser-preset configuration preset to use for
27
31
conventional-commits-parser [string]
@@ -30,6 +34,10 @@ Options:
30
34
edit=false [string]
31
35
-V, --verbose enable verbose output for reports without problems
32
36
[boolean]
37
+ -s, --strict enable strict mode; result code 2 for warnings, 3 for
38
+ errors [boolean]
39
+ --options path to a JSON file or Common.js module containing CLI
40
+ options
33
41
-v, --version display version information [boolean]
34
42
-h, --help Show help [boolean]
35
43
` ` `
0 commit comments