Skip to content

Commit c7ab1d8

Browse files
Updating reference of configuration (#2493)
Updating the docs to explain how to pass the configuration using the CLI
1 parent 3d8d4d5 commit c7ab1d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference-configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The file is expected
88
- export a configuration object
99
- adhere to the schema outlined below
1010

11+
## Config option CLI
12+
13+
Add the path to the configuration file. Example: `commitlint --config commitlint.config.js`
14+
1115
## Configuration object example
1216

1317
### JavaScript

0 commit comments

Comments
 (0)