Skip to content

Commit 013455c

Browse files
committed
v1.1.2: [markdown-toc] support for multiple .md files
1 parent b234899 commit 013455c

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
3-
rev: master
3+
rev: v1.1.2
44
hooks:
55
- id: htmlhint
66
- id: htmllint

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
entry: markdown-toc
2323
args: [-i]
2424
language: node
25-
additional_dependencies: [markdown-toc]
25+
additional_dependencies: [github:Lucas-C/markdown-toc#handle-multiple-input-files]
2626
files: .*\.md$

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Changelog:
2+
--------
3+
4+
All notable changes to this project will be documented in this file.
5+
6+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
7+
and this project adheres to [Semantic Versioning](http://semver.org/).
8+
9+
10+
## [1.1.2] - 2022-03-18
11+
### Changed
12+
- `markdown-toc` hook: using [my fork of the underlying NPM lib](https://github.com/Lucas-C/markdown-toc/tree/handle-multiple-input-files) in order to have support for multiple `.md` files - [issue #8](https://github.com/Lucas-C/pre-commit-hooks-nodejs/issues/8)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ The test `Dockerfile` in this repo was taken from [here](https://github.com/dock
1212
<!-- toc -->
1313

1414
- [Usage](#usage)
15-
* [htmlhint](#htmlhint)
16-
* [htmllint](#htmllint)
17-
* [markdown-toc](#markdown-toc)
18-
* [dockerfile_lint](#dockerfile_lint)
15+
* [htmlhint](#htmlhint)
16+
* [htmllint](#htmllint)
17+
* [markdown-toc](#markdown-toc)
18+
* [dockerfile_lint](#dockerfile_lint)
1919

2020
<!-- tocstop -->
2121

@@ -24,7 +24,7 @@ The test `Dockerfile` in this repo was taken from [here](https://github.com/dock
2424
```
2525
repos:
2626
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
27-
rev: v1.1.1
27+
rev: v1.1.2
2828
hooks:
2929
- id: htmlhint
3030
# optional custom config:

0 commit comments

Comments
 (0)