From cda4825fba1ad4f8c13e9d9a686625e784aa0297 Mon Sep 17 00:00:00 2001 From: Awar Abdulkarim <48431495+NotAwar@users.noreply.github.com> Date: Thu, 23 Oct 2025 14:40:41 +0200 Subject: [PATCH 1/3] fix: update snippet for clarity Updated JSON snippet for YAML configuration. Signed-off-by: Awar Abdulkarim <48431495+NotAwar@users.noreply.github.com> --- .../docs/score specification/ide-linter-autocomplete.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/en/docs/score specification/ide-linter-autocomplete.md b/content/en/docs/score specification/ide-linter-autocomplete.md index 33f2ca6b..b64603bd 100644 --- a/content/en/docs/score specification/ide-linter-autocomplete.md +++ b/content/en/docs/score specification/ide-linter-autocomplete.md @@ -23,9 +23,11 @@ For instance, configuring Visual Studio Code involves the following steps: - Add the following JSON snippet: ```json -"yaml.schemas": { - "https://raw.githubusercontent.com/score-spec/spec/main/score-v1b1.json": "score.yaml" - } + "yaml.customTags": [ + ], + "yaml.schemas": { + "https://raw.githubusercontent.com/score-spec/spec/main/score-v1b1.json": "score.yaml" + } ``` For reference: From 49d434680c5a9ec8f68828751f3ff4945d6b3c93 Mon Sep 17 00:00:00 2001 From: Awar Abdulkarim <48431495+NotAwar@users.noreply.github.com> Date: Thu, 23 Oct 2025 14:51:56 +0200 Subject: [PATCH 2/3] fix: indentation Updated the yaml.customTags section in the documentation. Signed-off-by: Awar Abdulkarim <48431495+NotAwar@users.noreply.github.com> --- .../en/docs/score specification/ide-linter-autocomplete.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/score specification/ide-linter-autocomplete.md b/content/en/docs/score specification/ide-linter-autocomplete.md index b64603bd..2babd771 100644 --- a/content/en/docs/score specification/ide-linter-autocomplete.md +++ b/content/en/docs/score specification/ide-linter-autocomplete.md @@ -23,9 +23,9 @@ For instance, configuring Visual Studio Code involves the following steps: - Add the following JSON snippet: ```json - "yaml.customTags": [ +"yaml.customTags": [ ], - "yaml.schemas": { +"yaml.schemas": { "https://raw.githubusercontent.com/score-spec/spec/main/score-v1b1.json": "score.yaml" } ``` From b6122ab334c914d63bb46b847e5fa33ed5a54c74 Mon Sep 17 00:00:00 2001 From: Awar Abdulkarim <48431495+NotAwar@users.noreply.github.com> Date: Mon, 27 Oct 2025 07:48:52 +0100 Subject: [PATCH 3/3] fix: added clarification to the end of the text Signed-off-by: Awar Abdulkarim <48431495+NotAwar@users.noreply.github.com> --- .../ide-linter-autocomplete.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/content/en/docs/score specification/ide-linter-autocomplete.md b/content/en/docs/score specification/ide-linter-autocomplete.md index 2babd771..8688cff8 100644 --- a/content/en/docs/score specification/ide-linter-autocomplete.md +++ b/content/en/docs/score specification/ide-linter-autocomplete.md @@ -23,13 +23,21 @@ For instance, configuring Visual Studio Code involves the following steps: - Add the following JSON snippet: ```json -"yaml.customTags": [ - ], "yaml.schemas": { - "https://raw.githubusercontent.com/score-spec/spec/main/score-v1b1.json": "score.yaml" - } + "https://raw.githubusercontent.com/score-spec/spec/main/score-v1b1.json": "score.yaml" + } ``` For reference: ![Visual Studio Code instructions](/images/vsc-score-schema-linting.png) + +It should look like the following: + +```json +"yaml.customTags": [ + ], +"yaml.schemas": { + "https://raw.githubusercontent.com/score-spec/spec/main/score-v1b1.json": "score.yaml" + } +```