From 0a5527bb4ef5fc04c8fa4bf71cad76af1f33bbca Mon Sep 17 00:00:00 2001 From: ee7 <45465154+ee7@users.noreply.github.com> Date: Fri, 9 Apr 2021 12:07:51 +0200 Subject: [PATCH] Add missing "non-blank" linting rule --- building/configlet/lint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/building/configlet/lint.md b/building/configlet/lint.md index cc1f86a0..7aaed229 100644 --- a/building/configlet/lint.md +++ b/building/configlet/lint.md @@ -116,7 +116,7 @@ The `config.json` file should have the following checks: - The `"exercises.practice[].practices"` key is required - The `"exercises.practice[].practices"` value must be a non-empty array of strings if `"exercises.practice[].status"` is not equal to `deprecated` - The `"exercises.practice[].practices"` value must be an empty array if `"exercises.practice[].status"` is equal to `deprecated` -- The `"exercises.practice[].practices"` values must be non-empty, lowercased strings using kebab-case +- The `"exercises.practice[].practices"` values must be non-empty, non-blank, lowercased strings using kebab-case - The `"exercises.practice[].practices"` values must not have duplicates - The `"exercises.practice[].practices"` values must match the `"concepts[].slug"` property of one of the concepts - The `"exercises.practice[].practices"` values must refer to an individual concept's slug at most 10 times (across all exercises)