Skip to content

Commit

Permalink
pre-commit update and cleanup markdownlintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
brainsik committed Aug 26, 2020
1 parent 257b5bb commit b7b4d37
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
13 changes: 8 additions & 5 deletions .markdownlintrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"default": true,
"first-header-h1": false,
"first-line-h1": false,
"line_length": false,
"MD024": {
"no-multiple-blanks": false,
"fenced-code-language": true,
"no-duplicate-header": {
"siblings_only": true
},
"MD014": false,
"MD033": false,
"MD040": false,
"MD046": false
"code-block-style": {
"style": "fenced"
}
}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
repos:

- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
rev: v3.2.0
hooks:
- id: check-json
- id: check-yaml
- id: trailing-whitespace

- repo: git://github.com/igorshubovych/markdownlint-cli
rev: v0.23.1
rev: v0.23.2
hooks:
- id: markdownlint
entry: markdownlint --ignore .github/*.md

- repo: git://github.com/trussworks/pre-commit-hooks
rev: v0.0.4
rev: v1.0.0
hooks:
- id: markdown-toc
- id: mdspell
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* [mdspell](#mdspell)
* [spelling-sort](#spelling-sort)

Regenerate with "pre-commit run -a markdown-toc"
<!-- Regenerate with "pre-commit run -a markdown-toc" -->

<!-- tocstop -->

Expand Down

0 comments on commit b7b4d37

Please sign in to comment.