renumber linter rules (#44603)
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
const githubDocsConfig = {
|
||||
'code-fence-line-length': {
|
||||
'link-punctuation': {
|
||||
// GHD001
|
||||
severity: 'warning',
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'image-alt-text-end-punctuation': {
|
||||
'internal-links-lang': {
|
||||
// GHD002
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'incorrect-alt-text-length': {
|
||||
'internal-links-slash': {
|
||||
// GHD003
|
||||
severity: 'warning',
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'image-file-kebab': {
|
||||
@@ -19,111 +19,116 @@ const githubDocsConfig = {
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'internal-links-lang': {
|
||||
'hardcoded-data-variable': {
|
||||
// GHD005
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'internal-links-slash': {
|
||||
'internal-links-old-version': {
|
||||
// GHD006
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'image-alt-text-exclude-words': {
|
||||
'annotate-frontmatter': {
|
||||
// GHD007
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'link-punctuation': {
|
||||
'early-access-references': {
|
||||
// GHD008
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'yaml-scheduled-jobs': {
|
||||
// GHD009
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'internal-links-old-version': {
|
||||
// GHD010
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'list-first-word-capitalization': {
|
||||
// GH011
|
||||
severity: 'warning',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'early-access-references': {
|
||||
// GH035
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'liquid-quoted-conditional-arg': {
|
||||
// LQ111
|
||||
'github-owned-action-references': {
|
||||
// GHD013
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'liquid-data-references-defined': {
|
||||
// LQ112
|
||||
// GHD014
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'liquid-data-tag-format': {
|
||||
// GHD015
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'hardcoded-data-variable': {
|
||||
'liquid-quoted-conditional-arg': {
|
||||
// GHD016
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'github-owned-action-references': {
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'annotate-frontmatter': {
|
||||
// GH040
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'liquid-syntax': {
|
||||
// GHD018
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'liquid-if-tags': {
|
||||
// LQ114
|
||||
// GHD019
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'liquid-ifversion-tags': {
|
||||
// LQ113
|
||||
// GHD020
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'yaml-scheduled-jobs': {
|
||||
// GHD021
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'code-fence-line-length': {
|
||||
// GHD030
|
||||
severity: 'warning',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'image-alt-text-exclude-words': {
|
||||
// GHD031
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'image-alt-text-end-punctuation': {
|
||||
// GHD032
|
||||
severity: 'error',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'incorrect-alt-text-length': {
|
||||
// GHD033
|
||||
severity: 'warning',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
'list-first-word-capitalization': {
|
||||
// GHD034
|
||||
severity: 'warning',
|
||||
'partial-markdown-files': true,
|
||||
},
|
||||
}
|
||||
|
||||
export const githubDocsFrontmatterConfig = {
|
||||
'frontmatter-early-access-references': {
|
||||
// GHD009
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'frontmatter-hidden-docs': {
|
||||
// GHD034
|
||||
// GHD010
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'frontmatter-video-transcripts': {
|
||||
// GH036
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'frontmatter-early-access-references': {
|
||||
// GH060
|
||||
// GHD011
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'frontmatter-format': {
|
||||
// GHD012
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
'frontmatter-liquid-syntax': {
|
||||
// LQ115
|
||||
// GHD017
|
||||
severity: 'error',
|
||||
'partial-markdown-files': false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user