Indentation and seed continuity audit for workshop-plant-nursery-catalog
As part of the editable-region audit tracked in #67721, the workshop-plant-nursery-catalog workshop needs to be audited for two issues:
- Indentation — the workshop currently uses 4 spaces instead of the standard 2 spaces, and needs to be corrected throughout.
- Seed continuity — some steps are missing empty lines that are present in later steps (or vice versa), causing inconsistent diffs between steps. These need to be reconciled so the seed code flows consistently step to step.
We now have a script that highlights the code changes between steps (credit: majestic-owl448). Here is the link: workshop-seed-diff.js
To use this, save the file in your freeCodeCamp directory and run the following command:
node workshop-seed-diff.js workshop-folder-name
This command will generate a report (you can see an example here). I recommend pasting the output into a GitHub Gist for better readability. Please ensure that all changes are strictly confined to the editable regions.
This issue is part of Naomi's sprint initiatives.
If you are interested in working on this issue, join our Discord and ping Naomi!
Indentation and seed continuity audit for
workshop-plant-nursery-catalogAs part of the editable-region audit tracked in #67721, the workshop-plant-nursery-catalog workshop needs to be audited for two issues:
We now have a script that highlights the code changes between steps (credit: majestic-owl448). Here is the link: workshop-seed-diff.js
To use this, save the file in your freeCodeCamp directory and run the following command:
This command will generate a report (you can see an example here). I recommend pasting the output into a GitHub Gist for better readability. Please ensure that all changes are strictly confined to the editable regions.
This issue is part of Naomi's sprint initiatives.
If you are interested in working on this issue, join our Discord and ping Naomi!