-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint(concepts): implement
links.json
checks (#171)
This commit adds these checks for `concept/<slug>/links.json` files: - The file must be valid JSON - The JSON root must be an array (the empty array is allowed) - The `"[].url"` property is required - The `"[].url"` value must be an URL - The `"[].description"` property is required - The `"[].description"` value must be a non-empty, non-blank string - The `"[].icon_url"` property is optional - The `"[].icon_url"` value must be an URL See the spec: - https://github.com/exercism/docs/blob/6ff54c5db80c/building/configlet/lint.md#rule-conceptsluglinksjson-is-valid
- Loading branch information
Showing
2 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters