Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint(track_config): check key_features #236

Merged
merged 1 commit into from
Mar 25, 2021

Commits on Mar 25, 2021

  1. lint(track_config): check key_features

    This commit implements the below rules for a track's `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/main/building/configlet/lint.md#rule-configjson-file-is-valid
    ee7 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    c9acd22 View commit details
    Browse the repository at this point in the history