Skip to content

Commit 171bc46

Browse files
committed
Updating markdownlint test file format
Signed-off-by: Lynette Miles <[email protected]>
1 parent a950e72 commit 171bc46

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.markdownlint.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"default": true,
3+
"MD003": { "style": "atx" },
4+
"MD007": { "indent": 2 },
5+
"MD013": false,
6+
"MD025": { "front_matter_title": "false" },
7+
"MD049": { "style": "underscore" },
8+
"no-hard-tabs": false,
9+
"whitespace": false,
10+
"no-emphasis-as-heading": false
11+
}

markdownlint.rb renamed to test-markdownlint.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
#!/usr/bin/ruby
22

3+
# This file is out of date and does not appear to be used by current versions of
4+
# markdownlint. See .markdownlint.json.
5+
36
# Enable all rules by default
4-
all
7+
# all
8+
9+
## Exclude line length test
10+
exclude_rule 'MD013'
511

12+
# Commenting out, but saving for later - we're still getting errors for length
613
# Extend line length, since each sentence should be on a separate line.
714
rule 'MD013', :line_length => 99999, :ignore_code_blocks => true
815

0 commit comments

Comments
 (0)