Skip to content

Commit 8b3e8cf

Browse files
authored
Disable liquid rule until all occurrences fixed in content (#55453)
1 parent 2664872 commit 8b3e8cf

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

data/reusables/contributing/content-linter-rules.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,11 @@
5656
| GHD018 | liquid-syntax | Markdown content must use valid Liquid | error | liquid |
5757
| GHD019 | liquid-if-tags | Liquid `ifversion` tags should be used instead of `if` tags when the argument is a valid version | error | liquid, versioning |
5858
| GHD020 | liquid-ifversion-tags | Liquid `ifversion` tags should contain valid version names as arguments | error | liquid, versioning |
59-
| GHD022 | liquid-ifversion-versions | Liquid `ifversion`, `elsif`, and `else` tags should be valid and not contain unsupported versions. | error | liquid, versioning |
6059
| GHD035 | rai-reusable-usage | RAI articles and reusables can only reference reusable content in the data/reusables/rai directory | error | feature, rai |
6160
| GHD036 | image-no-gif | Image must not be a gif, styleguide reference: contributing/style-guide-and-content-model/style-guide.md#images | error | images |
6261
| GHD038 | expired-content | Expired content must be remediated. | error | expired |
6362
| GHD039 | expiring-soon | Content that expires soon should be proactively addressed. | warning | expired |
6463
| [GHD040](https://github.com/github/docs/blob/main/src/content-linter/README.md) | table-liquid-versioning | Tables must use the correct liquid versioning format | error | tables |
6564
| GHD041 | third-party-action-pinning | Code examples that use third-party actions must always pin to a full length commit SHA | error | feature, actions |
6665
| GHD042 | liquid-tag-whitespace | Liquid tags should start and end with one whitespace. Liquid tag arguments should be separated by only one whitespace. | error | liquid, format |
67-
| GHD043 | link-quotation | Internal link titles must not be surrounded by quotations | error | links, url |
68-
| GHD022 | liquid-ifversion-versions | Liquid `ifversion`, `elsif`, and `else` tags should be valid and not contain unsupported versions. | error | liquid, versioning |
66+
| GHD043 | link-quotation | Internal link titles must not be surrounded by quotations | error | links, url |

src/content-linter/style/github-docs.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ const githubDocsConfig = {
8989
'partial-markdown-files': true,
9090
'yml-files': true,
9191
},
92-
'liquid-ifversion-versions': {
93-
// GHD022
94-
severity: 'error',
95-
'partial-markdown-files': true,
96-
'yml-files': true,
97-
},
92+
// 'liquid-ifversion-versions': {
93+
// // GHD022
94+
// severity: 'error',
95+
// 'partial-markdown-files': true,
96+
// 'yml-files': true,
97+
// },
9898
'yaml-scheduled-jobs': {
9999
// GHD021
100100
severity: 'error',
@@ -206,12 +206,12 @@ export const githubDocsFrontmatterConfig = {
206206
severity: 'error',
207207
'partial-markdown-files': false,
208208
},
209-
'liquid-ifversion-versions': {
210-
// GHD022
211-
severity: 'error',
212-
'partial-markdown-files': true,
213-
'yml-files': true,
214-
},
209+
// 'liquid-ifversion-versions': {
210+
// // GHD022
211+
// severity: 'error',
212+
// 'partial-markdown-files': true,
213+
// 'yml-files': true,
214+
// },
215215
'link-quotation': {
216216
// GHD043
217217
severity: 'error',

0 commit comments

Comments
 (0)