Skip to content

Commit bfb2e78

Browse files
committed
Relax markdownlint rules
- Use .markdownlint.json instead of .jsonc - Disable: blanks-around-fences, blanks-around-headings, blanks-around-lists, commands-show-output, fenced-code-language, first-line-heading, heading-increment, heading-style, line-length, no-bare-urls, no-multiple-blanks, no-trailing-punctuation, single-title, single-trailing-newline
1 parent 6247a95 commit bfb2e78

File tree

3 files changed

+64
-21
lines changed

3 files changed

+64
-21
lines changed

.github/workflows/markdown_linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request: {}
66
# Scan mainline branches and report all findings:
77
push:
8-
branches: ["main"]
8+
branches: ["mater", "main"]
99

1010
jobs:
1111
markdown-lint-check:
@@ -19,5 +19,5 @@ jobs:
1919
uses: nosborn/[email protected]
2020
with:
2121
files: './1.0*'
22-
config_file: ".markdownlint.jsonc"
22+
config_file: ".markdownlint.json"
2323
ignore_files: "tools, templates, images"

.markdownlint.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"//comment": "https://github.com/DavidAnson/markdownlint/blob/main/.markdownlint.json",
3+
"blanks-around-fences": false,
4+
"blanks-around-headings": false,
5+
"blanks-around-lists": false,
6+
"code-block-style": {
7+
"style": "fenced"
8+
},
9+
"code-fence-style": {
10+
"style": "backtick"
11+
},
12+
"commands-show-output": false,
13+
"emphasis-style": {
14+
"style": "asterisk"
15+
},
16+
"extended-ascii": {
17+
"ascii-only": true
18+
},
19+
"fenced-code-language": false,
20+
"first-line-heading": false,
21+
"heading-increment": false,
22+
"heading-style": false,
23+
"hr-style": {
24+
"style": "---"
25+
},
26+
"line-length": false,
27+
"link-image-style": {
28+
"collapsed": false,
29+
"shortcut": false,
30+
"url_inline": false
31+
},
32+
"no-bare-urls": false,
33+
"no-duplicate-heading": {
34+
"siblings_only": true
35+
},
36+
"no-multiple-blanks": false,
37+
"no-trailing-punctuation": false,
38+
"ol-prefix": {
39+
"style": "ordered"
40+
},
41+
"proper-names": {
42+
"code_blocks": false,
43+
"names": [
44+
"Cake.Markdownlint",
45+
"CommonMark",
46+
"JavaScript",
47+
"Markdown",
48+
"markdown-it",
49+
"markdownlint",
50+
"Node.js"
51+
]
52+
},
53+
"reference-links-images": {
54+
"shortcut_syntax": true
55+
},
56+
"single-title": false,
57+
"single-trailing-newline": false,
58+
"strong-style": {
59+
"style": "asterisk"
60+
},
61+
"ul-style": false
62+
}

.markdownlint.jsonc

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)