From a8d5b8677b1a3124a518d75527e073a2e7557ef3 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Wed, 4 Dec 2024 08:48:22 +0100 Subject: [PATCH] Add lint exercise docs --- building/tracks/new/add-initial-exercises.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/building/tracks/new/add-initial-exercises.md b/building/tracks/new/add-initial-exercises.md index 382c040c..7145b7e6 100644 --- a/building/tracks/new/add-initial-exercises.md +++ b/building/tracks/new/add-initial-exercises.md @@ -178,6 +178,24 @@ Under the hood, the `bin/verify-exercises` script does several things: - Run the tests ``` +### Lint exercise + +The final step is to run [the linter](/docs/building/configlet/lint) to check if the track's (configuration) files are properly structured - both syntactically and semantically. + +First, make sure you have the latest version of [`configlet`](/docs/building/configlet/) by running: + +```shell +bin/fetch-configlet +``` + +The run [the linter](/docs/building/configlet/lint) by running: + +```shell +bin/configlet lint +``` + +Use the output to verify that all is well. + [problem-specifications-exercises]: https://github.com/exercism/problem-specifications/tree/main/exercises/ [allergies]: https://github.com/exercism/problem-specifications/tree/main/exercises/allergies [alphametics]: https://github.com/exercism/problem-specifications/tree/main/exercises/alphametics