Skip to content

Commit

Permalink
configlet: add linting rule for practice exercise icon (#421)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ErikSchierboom authored Dec 15, 2022
1 parent ff94eef commit 7e4d877
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions building/configlet/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7e4d877

Please sign in to comment.