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: check blurb for exercises #239

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

ee7
Copy link
Member

@ee7 ee7 commented Mar 25, 2021

This commit implements the below rules for the .meta/config.json file
of a Concept Exercise or a Practice Exercise.

  • The "blurb" key is required
  • The "blurb" value must be a non-empty, non-blank string with
    length <= 350

See:


This PR currently makes the below diff to the configlet lint output, per track.

ballerina

+Missing key: 'blurb':
+./exercises/practice/calculator-service/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/practice/echo-service/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/practice/greeting-service/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/practice/hello-world-service/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/practice/legacy-service-client/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/practice/order-management/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/practice/service-composition/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/practice/service-invocation/.meta/config.json
+

bash

+Missing key: 'blurb':
+./exercises/practice/list-ops/.meta/config.json
+
+Configlet detected at least one problem.
+For more information on resolving the problems, please see the documentation:
+https://github.com/exercism/docs/blob/main/building/configlet/lint.md

erlang

+Missing key: 'blurb':
+./exercises/practice/bracket-push/.meta/config.json
+

go

+Missing key: 'blurb':
+./exercises/concept/chessboard/.meta/config.json
+
+Missing key: 'blurb':
+./exercises/concept/the-farm/.meta/config.json
+
+Configlet detected at least one problem.
+For more information on resolving the problems, please see the documentation:
+https://github.com/exercism/docs/blob/main/building/configlet/lint.md

objective-c

+Missing key: 'blurb':
+./exercises/practice/bracket-push/.meta/config.json
+

php

+Missing key: 'blurb':
+./exercises/practice/ordinal-number/.meta/config.json
+
+Configlet detected at least one problem.
+For more information on resolving the problems, please see the documentation:
+https://github.com/exercism/docs/blob/main/building/configlet/lint.md

purescript

+Missing key: 'blurb':
+./exercises/practice/bracket-push/.meta/config.json
+

r

+Missing key: 'blurb':
+./exercises/practice/fizz-buzz/.meta/config.json
+

solidity

+Missing key: 'blurb':
+./exercises/practice/token-transfer/.meta/config.json
+

swift

+Missing key: 'blurb':
+./exercises/practice/bracket-push/.meta/config.json
+

This commit implements the below rules for the `.meta/config.json` file
of a Concept Exercise or a Practice Exercise.
- The `"blurb"` key is required
- The `"blurb"` value must be a non-empty, non-blank string with
  length <= 350

See:
- https://github.com/exercism/docs/pull/95/files
- https://github.com/exercism/docs/blob/f7d5ec6fda07/building/configlet/lint.md
@ee7 ee7 mentioned this pull request Mar 25, 2021
@ee7 ee7 merged commit 383c76f into exercism:main Mar 25, 2021
@ee7 ee7 deleted the lint-exercises-blurb branch March 25, 2021 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants