Skip to content

Commit

Permalink
configlet(lint): fix quote usage (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
ee7 authored Jun 10, 2022
1 parent bf31a4a commit d334042
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions building/configlet/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,34 +80,34 @@ The `config.json` file should have the following checks:
- The `"online_editor.highlightjs_language"` value must be a non-blank string¹
- The `"files"` key is optional
- The `"files"` value must be an object
- The `"files.solution`" key is optional
- The `"files.solution`" value must be an array
- The `"files.solution`" values must be valid patterns⁵
- The `"files.solution`" values must not have duplicates
- The `"files.test`" key is optional
- The `"files.test`" value must be an array
- The `"files.test`" values must be valid patterns⁵
- The `"files.test`" values must not have duplicates
- The `"files.example`" key is optional
- The `"files.example`" value must be an array
- The `"files.example`" values must be valid patterns⁵
- The `"files.example`" values must not have duplicates
- The `"files.exemplar"`" key is optional
- The `"files.exemplar"`" value must be an array
- The `"files.exemplar"`" values must be valid patterns⁵
- The `"files.exemplar"`" values must not have duplicates
- The `"files.editor`" key is optional
- The `"files.editor`" value must be an array
- The `"files.editor`" values must be valid patterns⁵
- The `"files.editor`" values must not have duplicates
- The `"files.invalidator`" key is optional
- The `"files.invalidator`" value must be an array
- The `"files.invalidator`" values must be valid patterns⁵
- The `"files.invalidator`" values must not have duplicates
- The `"files.solution"` key is optional
- The `"files.solution"` value must be an array
- The `"files.solution"` values must be valid patterns⁵
- The `"files.solution"` values must not have duplicates
- The `"files.test"` key is optional
- The `"files.test"` value must be an array
- The `"files.test"` values must be valid patterns⁵
- The `"files.test"` values must not have duplicates
- The `"files.example"` key is optional
- The `"files.example"` value must be an array
- The `"files.example"` values must be valid patterns⁵
- The `"files.example"` values must not have duplicates
- The `"files.exemplar"` key is optional
- The `"files.exemplar"` value must be an array
- The `"files.exemplar"` values must be valid patterns⁵
- The `"files.exemplar"` values must not have duplicates
- The `"files.editor"` key is optional
- The `"files.editor"` value must be an array
- The `"files.editor"` values must be valid patterns⁵
- The `"files.editor"` values must not have duplicates
- The `"files.invalidator"` key is optional
- The `"files.invalidator"` value must be an array
- The `"files.invalidator"` values must be valid patterns⁵
- The `"files.invalidator"` values must not have duplicates
- Patterns can only be listed in either the `"files.solution"`, `"files.test"`, `"files.example"`, `"files.exemplar"`, `"files.editor"` or `"files.invalidator"` array (no overlap)
- If the track is `d` or `plsql`, the `"files.solution"` and `"files.test"` files _can_ overlap
- The `"files.example` and `"files.exemplar"` files _can_ overlap
- The `"test_runner.average_run_time"` key is required if `status.test_runner` is equal to `true`
- The `"test_runner.average_run_time"` key is required if `"status.test_runner"` is equal to `true`
- The `"test_runner.average_run_time"` value must be a floating-point number > 0 with one decimal point of precision
- The `"exercises"` key is required
- The `"exercises.concept"` key is required
Expand Down Expand Up @@ -433,7 +433,7 @@ The `config.json` file should have the following checks:
> - Lowercase the second part of Latin species names.
4. Sentence Case string: a non-blank string that follows the below guidelines (see https://en.wikipedia.org/wiki/Letter_case#Sentence_case):
> - Capitalize the first word of the sentence, as well as proper nouns and other words as required by a more specific rule.
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:
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:
- `%{kebab_slug}`: the `kebab-case` exercise slug (e.g. `bit-manipulation`)
- `%{snake_slug}`: the `snake_case` exercise slug (e.g. `bit_manipulation`)
- `%{camel_slug}`: the `camelCase` exercise slug (e.g. `bitManipulation`)
Expand Down

0 comments on commit d334042

Please sign in to comment.