Skip to content

Commit 41b7e05

Browse files
authored
Merge pull request #1001 from bbatsov/fix-lint-config4
Fix markdownlint configuration
2 parents 2cf7680 + 7c27f8c commit 41b7e05

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

.markdownlint-cli2.jsonc

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
2-
// Enable all rules by default
3-
"default": true,
4-
5-
// Line length: increase default from 80
6-
"MD013": {
7-
"line_length": 100,
8-
"code_blocks": false,
9-
"tables": false
10-
},
11-
12-
// Allow duplicate headers in different nested sections
13-
"MD024": {
14-
"allow_different_nesting": true
15-
},
16-
17-
// Allow inline HTML
18-
"MD033": false,
19-
20-
// First line in a file doesn't need to be a top-level header
21-
"MD041": false,
2+
"config": {
3+
// Enable all rules by default
4+
"default": true,
5+
// Line length: increase default from 80
6+
"MD013": {
7+
"line_length": 100,
8+
"code_blocks": false,
9+
"tables": false
10+
},
11+
// Allow duplicate headers in different nested sections
12+
"MD024": {
13+
"allow_different_nesting": true
14+
},
15+
// Allow inline HTML
16+
"MD033": false,
17+
// First line in a file doesn't need to be a top-level header
18+
"MD041": false
19+
}
2220
}

0 commit comments

Comments
 (0)