From b7b4d370153e712289d9ed33e297d88d36ca3023 Mon Sep 17 00:00:00 2001 From: jeremy avnet Date: Wed, 26 Aug 2020 09:18:23 -0700 Subject: [PATCH] pre-commit update and cleanup markdownlintrc --- .markdownlintrc | 13 ++++++++----- .pre-commit-config.yaml | 6 +++--- README.md | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.markdownlintrc b/.markdownlintrc index 7021bd7..4df117c 100644 --- a/.markdownlintrc +++ b/.markdownlintrc @@ -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" + } } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2fbce3b..61aef9b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/README.md b/README.md index fce1c87..43689a5 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ * [mdspell](#mdspell) * [spelling-sort](#spelling-sort) -Regenerate with "pre-commit run -a markdown-toc" +