From ae18847156f4999c7766773064e3c7d6ad09030b Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 9 Apr 2021 14:38:21 +0200 Subject: [PATCH 1/3] Add glossary to linting --- building/configlet/lint.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/building/configlet/lint.md b/building/configlet/lint.md index cc1f86a0..66e890a2 100644 --- a/building/configlet/lint.md +++ b/building/configlet/lint.md @@ -292,3 +292,7 @@ The `config.json` file should have the following checks: - The `"contributors"` values must not have duplicates - The `"contributors"` values are treated case-insensitively - Users can only be listed in either the `"authors"` or `"contributors"` array (no overlap) + +## Glossary + +- _kebab_case_: strings which characters are all in the range [a-z09-] From a4905e0eb63312e3ccaa091bbec0b0a3eff41a49 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 9 Apr 2021 14:50:50 +0200 Subject: [PATCH 2/3] Update building/configlet/lint.md Co-authored-by: Jeremy Walker --- 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 66e890a2..48f01b9c 100644 --- a/building/configlet/lint.md +++ b/building/configlet/lint.md @@ -295,4 +295,4 @@ The `config.json` file should have the following checks: ## Glossary -- _kebab_case_: strings which characters are all in the range [a-z09-] +- _kebab_case_: strings containing only characters in the range `[a-z0-9-]` From 1af9613f430d82f297399e103f1ff3e3161e7d89 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Sat, 10 Apr 2021 09:35:39 +0200 Subject: [PATCH 3/3] Update building/configlet/lint.md Co-authored-by: Jeremy Walker --- 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 48f01b9c..6fa58f3c 100644 --- a/building/configlet/lint.md +++ b/building/configlet/lint.md @@ -295,4 +295,4 @@ The `config.json` file should have the following checks: ## Glossary -- _kebab_case_: strings containing only characters in the range `[a-z0-9-]` +- _kebab_case_: strings containing only characters in the range `[a-z0-9]` optionally separated by dashes (e.g. "two-fer"). In regular expression format: `^[a-z0-9]+(-[a-z0-9]+)*$`