You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+44-50Lines changed: 44 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,14 +42,14 @@ Configuration
42
42
Use Default Configuration
43
43
~~~~~~~~~~~~~~~~~~~~~~~~~
44
44
45
-
- **Commit Check** uses a `default configuration <https://github.com/commit-check/commit-check/blob/main/commit_check/__init__.py>`_ if you do not provide a ``.commit-check.yml`` file.
45
+
- **Commit Check** uses a `default configuration <https://github.com/commit-check/commit-check/blob/main/docs/configuration.rst>`_ if you do not provide a ``cchk.toml`` or ``commit-check.toml`` file.
46
46
47
47
- The default configuration enforces commit message rules based on the `Conventional Commits <https://www.conventionalcommits.org/en/v1.0.0/#summary>`_ specification and branch naming rules based on the `Conventional Branch <https://conventional-branch.github.io/#summary>`_ convention.
48
48
49
49
Use Custom Configuration
50
50
~~~~~~~~~~~~~~~~~~~~~~~~
51
51
52
-
To customize the behavior, create a config file ``.commit-check.yml`` under your repository's root directory, e.g., `.commit-check.yml<https://github.com/commit-check/commit-check/blob/main/.commit-check.yml>`_
52
+
To customize the behavior, create a config file ``cchk.toml`` or ``commit-check.toml`` under your repository's root directory, e.g., `cchk.toml<https://github.com/commit-check/commit-check/blob/main/cchk.toml>`_
53
53
54
54
Usage
55
55
-----
@@ -75,9 +75,6 @@ Running as pre-commit hook
75
75
- id: check-branch
76
76
- id: check-author-name
77
77
- id: check-author-email
78
-
- id: check-commit-signoff
79
-
- id: check-merge-base # requires download all git history
80
-
- id: check-imperative
81
78
82
79
Running as CLI
83
80
~~~~~~~~~~~~~~
@@ -112,7 +109,7 @@ To configure the hook, create a script file in the ``.git/hooks/`` directory.
0 commit comments