@@ -164,7 +164,7 @@ The `config.json` file should have the following checks:
164
164
- The ` "authors" ` values must not have duplicates
165
165
- The ` "authors" ` values are treated case-insensitively
166
166
- The ` "contributors" ` key is optional
167
- - The ` "contributors" ` value must be a non-empty array
167
+ - The ` "contributors" ` value must be an array
168
168
- The ` "contributors" ` values must be non-empty, non-blank strings
169
169
- The ` "contributors" ` values must not have duplicates
170
170
- The ` "contributors" ` values are treated case-insensitively
@@ -209,6 +209,34 @@ The `config.json` file should have the following checks:
209
209
- The Markdown must conform to the [ Markdown standards] ( ../../../contributing/standards/markdown.md )
210
210
- Links must be absolute (relative links are not allowed)
211
211
212
+ ### Rule: exercises/practice/< ; slug> ; /.meta/config.json is valid
213
+
214
+ - The file must be valid JSON
215
+ - The JSON root must be an object
216
+ - The ` "authors" ` key is optional
217
+ - The ` "authors" ` value must be an array
218
+ - The ` "authors" ` values must be non-empty, non-blank strings
219
+ - The ` "authors" ` values must not have duplicates
220
+ - The ` "authors" ` values are treated case-insensitively
221
+ - The ` "contributors" ` key is optional
222
+ - The ` "contributors" ` value must be an array
223
+ - The ` "contributors" ` values must be non-empty, non-blank strings
224
+ - The ` "contributors" ` values must not have duplicates
225
+ - The ` "contributors" ` values are treated case-insensitively
226
+ - Users can only be listed in either the ` "authors" ` or ` "contributors" ` array (no overlap)
227
+ - The ` "files.solution" ` key is required
228
+ - The ` "files.solution" ` value must be a non-empty array
229
+ - The ` "files.test" ` key is required
230
+ - The ` "files.test" ` value must be a non-empty array
231
+ - The ` "files.example" ` key is required
232
+ - The ` "files.example" ` value must be a non-empty array
233
+ - The files listed in the ` "files.solution" ` must exist
234
+ - The files listed in the ` "files.test" ` must exist
235
+ - The files listed in the ` "files.example" ` must exist
236
+ - Files can only be listed in either the ` "files.solution" ` , ` "files.test" ` or ` "files.example ` array (no overlap)
237
+ - The ` "language_versions" ` key is optional
238
+ - The ` "language_versions" ` value must be a string
239
+
212
240
### Rule: exercises/shared/.docs/cli.md is valid
213
241
214
242
- The Markdown must conform to the [ Markdown standards] ( ../../../contributing/standards/markdown.md )
0 commit comments