Skip to content

Commit 1056203

Browse files
committed
chore: fix md lint
dont validate links if they dont include slash (fixed youtube embedds)
1 parent 2c2674e commit 1056203

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/markdownlint-action.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: markdownlint-cli
10-
uses: nosborn/github-action-markdown-cli@v3.3.0
10+
uses: nosborn/github-action-markdown-cli@v3.4.0
1111
with:
1212
files: .
1313
config_file: .markdownlint.jsonc
14-

.markdownlint.jsonc

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175

176176
"MD033": {
177177
// Allowed elements
178-
"allowed_elements": []
178+
"allowed_elements": [""]
179179
},
180180

181181
// MD034/no-bare-urls - Bare URL used
@@ -302,4 +302,4 @@
302302
"//"
303303
]
304304
}
305-
}
305+
}

mlc_pull_req_config.json

+5
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@
77
}
88
}
99
],
10+
"ignorePatterns": [
11+
{
12+
"pattern": "^[^/]+$"
13+
}
14+
],
1015
"aliveStatusCodes": [200, 206, 429]
1116
}

0 commit comments

Comments
 (0)