Skip to content

Commit

Permalink
Add config file for markdownlint
Browse files Browse the repository at this point in the history
This config file turns off the "line too long" rule when within a code
block or a table.  Often there is no way to avoid going over 80 lines
in such cases.
  • Loading branch information
jsf9k committed Jun 24, 2019
1 parent a13597d commit 1843ca0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .mdl_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"MD013": {
"code_blocks": false,
"tables": false
},
"default": true
}
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ repos:
# GitHub's autorecognition fu to work, so we should leave it
# alone.
exclude: LICENSE.md
args:
- --config=.mdl_config.json
- repo: https://github.com/adrienverge/yamllint
rev: v1.16.0
hooks:
Expand Down

0 comments on commit 1843ca0

Please sign in to comment.