We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e859ba commit 6662e02Copy full SHA for 6662e02
1 file changed
tests/content/lint-files.js
@@ -92,7 +92,7 @@ const oldOcticonRegex = /{{\s*?octicon-([a-z-]+)(\s[\w\s\d-]+)?\s*?}}/g
92
// - {{ #warning }}
93
// - {{ /pizza }}
94
//
95
-const oldExtendedMarkdownRegex = /{{\s*?[#/][a-z-]+\s*}}/g
+const oldExtendedMarkdownRegex = /{{\s*?[#/][a-z-]+\s*?}}/g
96
97
const relativeArticleLinkErrorText = 'Found unexpected relative article links:'
98
const languageLinkErrorText = 'Found article links with hard-coded language codes:'
@@ -124,7 +124,7 @@ describe('lint-files', () => {
124
let content
125
126
beforeAll(async () => {
127
- const content = await fs.promises.readFile(markdownAbsPath, 'utf8')
+ content = await fs.promises.readFile(markdownAbsPath, 'utf8')
128
})
129
130
test('relative URLs must start with "/"', async () => {
0 commit comments