From f9adae4fe68cc061d74823df377691273df3b0b4 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Wed, 14 Dec 2022 09:28:32 +0100 Subject: [PATCH] configlet: add linting rule for practice exercise icon The icon rule was not present even though the field was described in the practice exercise spec: https://github.com/exercism/docs/blob/main/building/tracks/practice-exercises.md#file-metaconfigjson --- building/configlet/lint.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/building/configlet/lint.md b/building/configlet/lint.md index 0cd3cb68..8176f7ac 100644 --- a/building/configlet/lint.md +++ b/building/configlet/lint.md @@ -327,6 +327,8 @@ The `config.json` file should have the following checks: - The `"test_runner"` value must be a boolean - The `"representer.version"` key is optional - The `"representer.version"` value must be an integer >= 1 +- The `"icon"` key is optional +- The `"icon"` value must be a kebab-case stringĀ² ### Rule: exercises/{concept|practice}/<slug>/.approaches/config.json is valid