Create Linter Rule to Remove Quotes Around Internal Links (#53510)
Co-authored-by: Rachael Sewell <rachmari@github.com>
This commit is contained in:
@@ -167,6 +167,12 @@ const githubDocsConfig = {
|
||||
'partial-markdown-files': true,
|
||||
'yml-files': true,
|
||||
},
|
||||
'link-quotation': {
|
||||
// GHD043
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
'yml-files': true,
|
||||
},
|
||||
}
|
||||
|
||||
export const githubDocsFrontmatterConfig = {
|
||||
@@ -210,6 +216,11 @@ export const githubDocsFrontmatterConfig = {
|
||||
severity: 'warning',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'link-quotation': {
|
||||
// GHD043
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
}
|
||||
|
||||
// Configures rules from the `github/markdownlint-github` repo
|
||||
|
||||
Reference in New Issue
Block a user