Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint(track_config): check
key_features
(#236)
This commit implements the below rules for a track's root `config.json` file. - The `"key_features"` key is optional - The `"key_features"` value must be an array with length = 6 - The `"key_features[].title"` key is required - The `"key_features[].title"` value must be a non-empty, non-blank string with length <= 25 - The `"key_features[].content"` key is required - The `"key_features[].content"` value must be a non-empty, non-blank string with length <= 100 These rules are currently disabled until we have a list of valid icons: - The `"key_features[].icon"` key is required - The `"key_features[].icon"` value must be a string that matches one of the pre-defined icon values See the spec: - https://github.com/exercism/docs/blob/f7d5ec6fda07/building/configlet/lint.md#rule-configjson-file-is-valid
- Loading branch information