You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: building/configlet/lint.md
+26-26
Original file line number
Diff line number
Diff line change
@@ -80,34 +80,34 @@ The `config.json` file should have the following checks:
80
80
- The `"online_editor.highlightjs_language"` value must be a non-blank string¹
81
81
- The `"files"` key is optional
82
82
- The `"files"` value must be an object
83
-
- The `"files.solution`" key is optional
84
-
- The `"files.solution`" value must be an array
85
-
- The `"files.solution`" values must be valid patterns⁵
86
-
- The `"files.solution`" values must not have duplicates
87
-
- The `"files.test`" key is optional
88
-
- The `"files.test`" value must be an array
89
-
- The `"files.test`" values must be valid patterns⁵
90
-
- The `"files.test`" values must not have duplicates
91
-
- The `"files.example`" key is optional
92
-
- The `"files.example`" value must be an array
93
-
- The `"files.example`" values must be valid patterns⁵
94
-
- The `"files.example`" values must not have duplicates
95
-
- The `"files.exemplar"`" key is optional
96
-
- The `"files.exemplar"`" value must be an array
97
-
- The `"files.exemplar"`" values must be valid patterns⁵
98
-
- The `"files.exemplar"`" values must not have duplicates
99
-
- The `"files.editor`" key is optional
100
-
- The `"files.editor`" value must be an array
101
-
- The `"files.editor`" values must be valid patterns⁵
102
-
- The `"files.editor`" values must not have duplicates
103
-
- The `"files.invalidator`" key is optional
104
-
- The `"files.invalidator`" value must be an array
105
-
- The `"files.invalidator`" values must be valid patterns⁵
106
-
- The `"files.invalidator`" values must not have duplicates
83
+
- The `"files.solution"` key is optional
84
+
- The `"files.solution"` value must be an array
85
+
- The `"files.solution"` values must be valid patterns⁵
86
+
- The `"files.solution"` values must not have duplicates
87
+
- The `"files.test"` key is optional
88
+
- The `"files.test"` value must be an array
89
+
- The `"files.test"` values must be valid patterns⁵
90
+
- The `"files.test"` values must not have duplicates
91
+
- The `"files.example"` key is optional
92
+
- The `"files.example"` value must be an array
93
+
- The `"files.example"` values must be valid patterns⁵
94
+
- The `"files.example"` values must not have duplicates
95
+
- The `"files.exemplar"` key is optional
96
+
- The `"files.exemplar"` value must be an array
97
+
- The `"files.exemplar"` values must be valid patterns⁵
98
+
- The `"files.exemplar"` values must not have duplicates
99
+
- The `"files.editor"` key is optional
100
+
- The `"files.editor"` value must be an array
101
+
- The `"files.editor"` values must be valid patterns⁵
102
+
- The `"files.editor"` values must not have duplicates
103
+
- The `"files.invalidator"` key is optional
104
+
- The `"files.invalidator"` value must be an array
105
+
- The `"files.invalidator"` values must be valid patterns⁵
106
+
- The `"files.invalidator"` values must not have duplicates
107
107
- Patterns can only be listed in either the `"files.solution"`, `"files.test"`, `"files.example"`, `"files.exemplar"`, `"files.editor"` or `"files.invalidator"` array (no overlap)
108
108
- If the track is `d` or `plsql`, the `"files.solution"` and `"files.test"` files _can_ overlap
109
109
- The `"files.example` and `"files.exemplar"` files _can_ overlap
110
-
- The `"test_runner.average_run_time"` key is required if `status.test_runner` is equal to `true`
110
+
- The `"test_runner.average_run_time"` key is required if `"status.test_runner"` is equal to `true`
111
111
- The `"test_runner.average_run_time"` value must be a floating-point number > 0 with one decimal point of precision
112
112
- The `"exercises"` key is required
113
113
- The `"exercises.concept"` key is required
@@ -433,7 +433,7 @@ The `config.json` file should have the following checks:
433
433
> - Lowercase the second part of Latin species names.
434
434
4. Sentence Case string: a non-blank string that follows the below guidelines (see https://en.wikipedia.org/wiki/Letter_case#Sentence_case):
435
435
> - Capitalize the first word of the sentence, as well as proper nouns and other words as required by a more specific rule.
436
-
5. Valid `files` pattern: A non-blank string¹ that specifies a location of a file used in an exercise, relative to the exercise's directory. A pattern may use one of the following placeholders:
436
+
5. Valid `"files"` pattern: A non-blank string¹ that specifies a location of a file used in an exercise, relative to the exercise's directory. A pattern may use one of the following placeholders:
437
437
-`%{kebab_slug}`: the `kebab-case` exercise slug (e.g. `bit-manipulation`)
438
438
-`%{snake_slug}`: the `snake_case` exercise slug (e.g. `bit_manipulation`)
439
439
-`%{camel_slug}`: the `camelCase` exercise slug (e.g. `bitManipulation`)
0 commit comments