Skip to content

Commit d334042

Browse files
authored
configlet(lint): fix quote usage (#352)
1 parent bf31a4a commit d334042

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

building/configlet/lint.md

+26-26
Original file line numberDiff line numberDiff line change
@@ -80,34 +80,34 @@ The `config.json` file should have the following checks:
8080
- The `"online_editor.highlightjs_language"` value must be a non-blank string¹
8181
- The `"files"` key is optional
8282
- 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
107107
- Patterns can only be listed in either the `"files.solution"`, `"files.test"`, `"files.example"`, `"files.exemplar"`, `"files.editor"` or `"files.invalidator"` array (no overlap)
108108
- If the track is `d` or `plsql`, the `"files.solution"` and `"files.test"` files _can_ overlap
109109
- 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`
111111
- The `"test_runner.average_run_time"` value must be a floating-point number > 0 with one decimal point of precision
112112
- The `"exercises"` key is required
113113
- The `"exercises.concept"` key is required
@@ -433,7 +433,7 @@ The `config.json` file should have the following checks:
433433
> - Lowercase the second part of Latin species names.
434434
4. Sentence Case string: a non-blank string that follows the below guidelines (see https://en.wikipedia.org/wiki/Letter_case#Sentence_case):
435435
> - 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:
437437
- `%{kebab_slug}`: the `kebab-case` exercise slug (e.g. `bit-manipulation`)
438438
- `%{snake_slug}`: the `snake_case` exercise slug (e.g. `bit_manipulation`)
439439
- `%{camel_slug}`: the `camelCase` exercise slug (e.g. `bitManipulation`)

0 commit comments

Comments
 (0)