Skip to content

Commit d1f6784

Browse files
Merge pull request #162 from pdecat/docs/fix-links
docs: fix links to commitlint and pre-commit documention
2 parents e5287c0 + 7c7c2ea commit d1f6784

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Configuration
44

5-
* Create your `commitlint` config file in the repo's root, as explained in Commitlint [docs](https://commitlint.js.org/#/reference-configuration).
5+
* Create your `commitlint` config file in the repo's root, as explained in Commitlint [docs](https://commitlint.js.org/reference/configuration.html#configuration).
66
* Add the following to your `.pre-commit-config.yaml`:
77
```
88
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
@@ -11,7 +11,7 @@
1111
- id: commitlint
1212
stages: [commit-msg]
1313
```
14-
* Add your [shared configurations](https://commitlint.js.org/#/reference-configuration?id=shareable-configuration) as a
14+
* Add your [shared configurations](https://commitlint.js.org/reference/configuration.html#shareable-configuration) as a
1515
dependency using the `additional_dependencies` parameter of the hooks, here we use the `@commitlint/config-angular`
1616
as an example:
1717
```
@@ -22,13 +22,13 @@
2222
stages: [commit-msg]
2323
additional_dependencies: ['@commitlint/config-angular']
2424
```
25-
- Install the [`commit-msg`](https://pre-commit.com/#pre-commit-for-commit-messages) hook in your project repo:
25+
- Install the [`commit-msg`](https://pre-commit.com/#commit-msg) hook in your project repo:
2626
```shell
2727
pre-commit install --hook-type commit-msg
2828
```
2929
3030
Note that you **need** to specify a shared configuration in order for `commitlint` to work, if `commitlint` is new to you
31-
just use their default configuration (`@commitlint/config-conventional`). For more information, refer to their [docs](https://commitlint.js.org/#/?id=getting-started).
31+
just use their default configuration (`@commitlint/config-conventional`). For more information, refer to their [docs](https://commitlint.js.org/guides/getting-started.html).
3232
3333
### Usage in Travis CI
3434

0 commit comments

Comments
 (0)